> http://test.knocktouristguide.com/GoogleAPISample.html
>
> if you slecet from the drop down, the map appears but not the markers
> and controls.

Have you looked at the javascript error reported by the browser, to
see where to start?
If your code doesn't get an expected value for 'mapshow' it doesn't
set up the markers[] array, so the loop that places markers crashes
with a null array.

You could code defensively and have your code do something sensible
when 'mapshow' is not as expected.

Then you could look to see why mapshow isn't getting set the way you
expect.
That'll be because it is read only once, before the page is fully
built.
You probably want to write some code so that it gets set up after the
drop-down 'onchange' event.

Not a maps issue, basic javascript/forms DHTML

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