Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there something similar to GUnload() in google maps v3?

In Google Maps v2 we had onunload="GUnload()". Now in the newer version v3 I couldn't find this function in the api.

I'm asking because I have some troubles with memoryleaks in combination with Google Maps v3.

like image 840
Davincho Avatar asked Sep 25 '10 17:09

Davincho


People also ask

Is the Google Maps JavaScript API free?

The Maps JavaScript API uses a pay-as-you-go pricing model. Maps JavaScript API requests generate calls to two different SKUs depending on the type of request: map loads or panoramas. JavaScript services are priced separately from JavaScript native SKUs.

How do I get data from Google Maps API?

Go to APIs & Services → Dashboard → Enable APIs & Services at the top and Choose Maps Javascript API from the API Library. This will open up the Map JavaScript API page, and Enable it.

How is the global namespace referred for marker object in version 3 of API as compared to version 2?

Probably the most noticeable change in the Maps JavaScript API v3 is the introduction of the google. maps namespace. The v2 API places all objects in the Global namespace by default, which can result in naming collisions. Within v3, all objects are located within the google.


1 Answers

It appears there should be no requirement to call GUnload in v3

http://code.google.com/p/gmaps-api-issues/issues/detail?id=772#c18http://code.google.com/p/gmaps-api-issues/issues/detail?id=772#c18

like image 158
Matt Evans Avatar answered Sep 30 '22 22:09

Matt Evans