Hey...
Im a noobie on this kind of thinks and I'm getting a serious
problem..
Its something that im trying for 2 days andI still dont figure it
out!
I got this script with php but i need that the information of the
street (reverse geocoding) was seen on a tab window with one marker..
or just the tab in the center.. I tried, I saw the examples but i dont
know what Im doing wrong...
Can you help me please?
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(<?php echo $latfinal; ?>, <?php echo
$longfinal; ?>), 17);
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
var reversegeocoder = new GReverseGeocoder(map);
GEvent.addListener(reversegeocoder, "load",
function(placemark) {
alert(placemark.address);
}
);
reversegeocoder.reverseGeocode(new GLatLng(<?php echo
$latfinal; ?>, <?php echo $longfinal; ?>));
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---