> OK, As mentioned. I am just a newbie with API and scripting as well.
That's fine :) Learn by doing, I'm not going to write your code for
you.
> Can you help me create one that is working or maybe provide an easy
> working sample? Thanks.
This line -
var mapshow = ....
reads the value of the drop-down selection. It's right at the front of
your script, outside of any function, and runs before any selection is
made by anyone.
This function -
function initialize() {
if (GBrowserIsCompatible()) {
var map = ....
is run when the drop-down selection is changed. It'd be a good idea to
read the value of the drop-down during that function
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---