Hi,
I ran into this problem when trying to destroy the map instance while
a user may still interact with it.
Try in your code the following:
_map.setZoom(1,true);
_map.setCenter( new LatLng(0, 0) );
_map.unload();
which will normally produce the following errors:
1. TypeError: Error #1009: Cannot access a property or method of a
null object reference.
at
com.google.maps.controls::CopyrightView/setCopyright()
at
com.google.maps.controls::CopyrightView/onEnterFrame()
2. TypeError: Error #1009: Cannot access a property or method of a
null object reference.
at com.google.maps.core::Bootstrap/getMapsHost()
at
com.google.maps.core::Bootstrap/useSwfResponse()
at
com.google.maps.core::UsageTracker/onLoadComplete()
I am using GoogleMaps 1.20, the maps instance above is fully
instantiated and initialized.
Kind regards,
Matthias
--
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" 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-for-flash?hl=en.