My LocalSearch page has been working fine for over a year, but now I'm
having a map center problem. I pass the coordinates for the center
point in the URL. This has worked fine until today. The map is now
being centered on the Google HQ in California. See
http://florida.hometownlocator.com/maps/localsearch,lat,28.0036298,lon,-80.5656089,n,malabar.cfm
for an example.
The mapSearchControl code is as follows:
<script type="text/javascript">
var mapSearchControl;
function load() {
var container = document.getElementById("mapsearch");
mapSearchControl = new GSmapSearchControl(container,
"28.0036298 -80.5656089",
{ title :
"Malabar",
idleMapZoom :
GSmapSearchControl.ACTIVE_MAP_ZOOM-1,
hotspots : hotspots,
drivingDirections :
GSmapSearchControl.DRIVING_DIRECTIONS_FROM_USER,
showResultList :
GSmapSearchControl.DEFAULT_RESULT_LIST
}
);
}
GSearch.setOnLoadCallback(load);
</script>
Anyone spot the problem?
TIA,
Matt
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---