icontype is defined, but it's defined as a String, "reccenter". That's
not the same as being a reference to the GIcon variable reccenter.
E.g. you could write
markerOptions = { icon: reccenter }
but
markerOptions = { icon: icontype }
is equivalent to writing
markerOptions = { icon: "reccenter" }
which is not the same thing at all.
I use "associative arrays": http://econym.org.uk/gmap/basic16.htm
--
Mike Williams
http://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---