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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With