For completeness, I also disabled dragging. For others, here's the
code:
mapControl = new GLargeMapControl3D();
map.addControl(mapControl);
function disable_map() {
map.disableDragging();
map.disableDoubleClickZoom();
map.removeControl(mapControl);
}
function enable_map() {
map.enableDragging();
map.enableDoubleClickZoom();
map.addControl(mapControl);
}
--
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.