Google Map V3 Constants as Variables
- by Beardy
In the example below I am trying to update the map type depending on the value of the selected option type.
Unfortunately it doesn't seem to load the maptype into the google.maps.MapTypeId which is frustrating. I have tried it as a string as well as var gmapsMapType = google.maps.MapTypeId.++maptype; and I feel I am missing something here.
HTML
…