Unfortunately, there is no functionality to do this in the Maps API. Could you please tell us a bit more about your use case?
The closest thing to what you want is achieved by deleting the DOM element used as the container. Chris -- http://twitter.com/broady On Sun, Aug 7, 2011 at 9:53 PM, Saint Byte <[email protected]> wrote: > I have web application with google maps api v3/ i make map like: > > var myOptions = { > zoom: 5, > center: new google.maps.LatLng(60.397,59.644), > mapTypeId: google.maps.MapTypeId.HYBRID > }; > var map = new google.maps.Map($('photoimg'), myOptions); > > And for ofter task i need back div ( $('photoimg') ) . How destroy > map ? > > -- > 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. > > -- 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.
