![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Feb 2008
Posts: 36
![]() |
Hello to everyone
I eager to find about worldwindglobe.I have to enter the place name in the textbox on click of go button.It focus the appropriate place.I dont know to get the longitudinal and latitudinal axis,and also walkthrough the code in the workdwind globe.I slightly confused in that.I dont know which package & class to getting the value of the axis.so really waiting for ur reply. |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jan 2008
Posts: 17
![]() |
I think what you are looking for is GazetteerPanel.java, it lets you enter the placename in a textbox and will use a GeoCode API to retrieve the lat/lon for a placename from a Yahoo API.
The actual class that makes the request to the Yahoo API and parses out the lat/lon is Gazetteer.java in gov.nasa.worldwind.util. The spec for the Geocode API is here http://developer.yahoo.com/maps/rest/V1/geocode.html. |
|
|
|
|
|
#3 |
|
Member
Join Date: Feb 2008
Posts: 36
![]() |
Thanks
see here I am using NetBeans IDE for customize our worldwindJava SDK application.In that how to I add these place finder functionality.I just created JFrame window with that WorldWindowGLcanvas component.so I really waiting for ur reply. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jan 2008
Posts: 17
![]() |
The GazetteerPanel is a panel that just purely needs to be instantiated passing in a handle to the worldwind instance.. e.g. frame.add(new GazetteerPanel(wwd)).. You don't need to set up any listeners, etc.. It takes care of that..
|
|
|
|
|
|
#5 |
|
WWJ aficionado
Join Date: Aug 2007
Posts: 136
![]() |
Also you can use GeoNames to get a place lat/lon given a place name, place postal code and more.
__________________
|--------------------------------------- | http://www.acuriousanimal.com/ |--------------------------------------- | http://theballoonproject.blogspot.com |--------------------------------------- | _ __ | /_| ( _ _/'_ _ |( |. __)(//)//(/(/() | _/ |--------------------------------------- |
|
|
|
|
|
#6 |
|
Member
Join Date: Feb 2008
Posts: 36
![]() |
Thanks for your kindly reply
But i am new for NetBean IDE,Kindly send me clear formation of coding.Because i dont know which class what functionality.my email id: palaniyaan05@gmail.com wait for ur quick reply |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to add your own data (For beginners) | dinther | Add-on & Script Development | 30 | 06-20-2011 08:22 PM |
| Plug-in: PlaceNameMaker | canosso | Add-ons & Scripts | 4 | 03-30-2011 03:29 PM |
| save a place | brynn | Technical Support | 13 | 03-15-2006 01:50 PM |
| Place Name Update | Zach Guffron | Suggestion Box | 0 | 06-30-2005 08:11 PM |
| cant find place names file | joshua | Technical Support | 3 | 05-02-2005 01:21 PM |