[Google Maps API v2] Re: Wanted to convert into v3 service, tried many thing by commenting v2 code and by adding v3 code
v3 no longer tracks overlay with map.
There is a good workaround used by the google earth v3 plug in
adapter, basically tracks them externally by overwriting overlay's
overlay.setMap (kind of equivalent to GMaps2.addOverlay). You can
study this:
https://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/src/googleearth.js
Or, you could just change your code to respond to "onAdd" events on
overlay instead of "addoverlay" event on map.
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home