GeoTap not displaying correct location REsolved

Creating and modifying plugins.
Post Reply
chiriqui
Regular
Posts: 55
Joined: Tue Jan 01, 2008 4:31 pm
Location: Paso Ancho, Rep. of Panama

GeoTap not displaying correct location REsolved

Post 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?
Last edited by chiriqui on Sun Sep 12, 2010 12:02 am, edited 1 time in total.
chiriqui
Regular
Posts: 55
Joined: Tue Jan 01, 2008 4:31 pm
Location: Paso Ancho, Rep. of Panama

Re: GeoTap not displaying correct location

Post by chiriqui »

?
Last edited by chiriqui on Sat Sep 11, 2010 9:32 pm, edited 1 time in total.
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: GeoTap not displaying correct location

Post 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.
chiriqui
Regular
Posts: 55
Joined: Tue Jan 01, 2008 4:31 pm
Location: Paso Ancho, Rep. of Panama

Re: GeoTap not displaying correct location

Post 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
Post Reply