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 -

-- 
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.

Reply via email to