That looks like a bug in the ProjectedOverlay library. You should be able to comment out the "this.setMap(null);" statement on line 60. It shouldn't be there and is causing the problem.
Chad Killingsworth On Oct 20, 10:23 am, serj <[email protected]> wrote: > Thank you very much for help. > I need one more help: > > I tought I did something wrong when try to remove overlay from map, > but I see the same problem at > http://www.usnaviguide.com/v3maps/ProjectedOverlayTest.htm > > when Remove Overlay action is called (recursion problem) > > serj > > On Oct 20, 5:54 pm, Chad Killingsworth > > > > > > > > <[email protected]> wrote: > > Looking at the library, setOpacity can only be called after the > > overlay has drawn the first time. Try initializing the overlay with an > > opacity like: > > > var overlay = new ProjectedOverlay(map, imageUrl, bounds, > > {'percentOpacity': 25}) ; > > > Chad Killingsworth > > > On Oct 20, 9:17 am, serj <[email protected]> wrote: > > > > Yes, I saw this library before to post my question here. > > > I didn't use it because I get this error: > > > this.div_ is null > > > > when call setOpacity > > > > On Oct 20, 2:54 pm, Chad Killingsworth > > > > <[email protected]> wrote: > > > > A quick group search turns > > > > up:http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th... > > > > > Chad Killingsworth > > > > > On Oct 20, 6:19 am, serj <[email protected]> wrote: > > > > > > Hello, > > > > > > how can be set/adjust opacity to GroundOverlay? Any solution to > > > > > extend this class and set opacity to inner div where image is? > > > > > > thanks- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
