Page 1 of 1
GeoTap not displaying correct location REsolved
Posted: Sat Sep 11, 2010 11:53 am
by chiriqui
I used Google earth to get the latitude and longitude locations for this plugin.
It's displaying a spot out in the Western Atlantic ocean, not the location I've entered into the setup
latitude 8°49'5.00"N Which I changed to 8.49500 , entered into the latitude field of the plugin
longitude 82°37'18.55"W Which I changed to (82.371855 and -82.371855) entered into the longitude field
suggestions?
Re: GeoTap not displaying correct location
Posted: Sat Sep 11, 2010 7:28 pm
by kleinerChemiker
chiriqui wrote:
suggestions?
Use the right conversion for angles:
http://en.wikipedia.org/wiki/Degree_%28 ... bdivisions
Re: GeoTap not displaying correct location
Posted: Sat Sep 11, 2010 8:12 pm
by chiriqui
?
Re: GeoTap not displaying correct location
Posted: Sat Sep 11, 2010 8:31 pm
by kleinerChemiker
I don't know the Plugin, but I assume that it needs the koordinates like Google wants them.
All I wanted to say is that 8°49'5.00" != 8.49500.
Re: GeoTap not displaying correct location
Posted: Sat Sep 11, 2010 9:45 pm
by chiriqui
function initialize() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map_canvas"))
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
}
}
this is some code I found that Google uses..it would seem GlatLng (34.4419, -122.1419) is an example of latitude and longitude used at some point in the execution of the plugin. As it stands I have no idea what the php code expect to find in the field to parse
I clicked "version history" in the setup screen for this plugin and it mentions "geocode" Researching this I'm not sure yet if I can convert a geographic location to a geocode. so maybe this plugin doesn't support me in the Rep. of Panama
solution:
http://findlatitudeandlongitude.com/rev ... =990&pp=30