I am building a mobile website which uses AJAX to get content for different
pages. If a page has maps requirement then based on the placeholder div
placed in the content of the page, i initialize google Maps and display the
maps with various markers.
First time it works fine, i am able to see all the markers, use gestures to
move around the maps on my mobile phone.
When the page is re-visited the second time, i am able to see the google
maps but can not perform any action on the map. I can not do any gestures,
or no action on the pins are allowed.
I get the following error in js " TypeError: Result of expression 'd.Image'
[undefined] is not a constructor."
Am i doing some thing wrong. Here is the snippet of code that we are using
every time to load the map
myOptions = {
zoom: centralzoom,
disableDefaultUI: true,
navigationControl: true,
mapTypeControl: true,
scaleControl: true,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var mapID = document.getElementById("mapcanvas");
var googleMap = new google.maps.Map(mapID, myOptions);
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.