Hi, I am creating a custom overlay to show an image in the middle of the map, that does not moved when the map is zoomed, dragged, etc.
It worked perfectly in Google Map API version 2. The example code is here (view source) http://junk.kegan.info/gmap/version2.html. However, using the same method, it does not work in Google Map API version 3. See example code here (view source) http://junk.kegan.info/gmap/version3.html. It seems like in version 3, the OverlayView.draw() method is not called "every time" when the map center changed. To show this, I have added a 'counter' at the bottom of the page that will increment every time OverlayView.draw() is called (in version 2, it's GOverlay.redraw ()). Is this a bug in the API? Or am I doing something wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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?hl=en -~----------~----~----~----~------~----~------~--~---
