> http://www.unbridledrecovery,com

well, with a dot rather than a comma.

The page has invalid HTML - misplaced <body> tag.
The <body> itself errors because there is no initialize() function
defined for it to run onload.

> You'll have to input a zip and a radius to get the map to display

Okay.
Now the misplaced <body> fails because there is no GUnload() function
defined for it to run ... yet - you need to load the maps API script
first.

After clicking one the empty map boxes in your zipcode list, the next
page has no map indeed.
If you use 'view source' in your browser, you can see what actually
arrives at the browser for the onclick anchor -
    <a href='' onClick='map.panTo(marker.getLatLng('34.088808,
-118.406125'))'>
You've got quotes troubles in there, for one thing.

For another, .getLatLng() is a method that returns a value, it doesn't
need any parameters.
   
http://code.google.com/apis/maps/documentation/reference.html#GMarker.getLatLng
As you don't have any 'marker' anyway, but do output a lot of
different numeric values for the zipcodes, I suspect you may have
meant something like
    <a href='' onClick='map.panTo(GLatLng(34.088808, -118.406125))'>

That still won't work, because the onclick code runs in global
namespace, and your 'map' was defined as a loacl variable within the
initialize() function.  You'll need to make 'map' global.

cheers, Ross K

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to