GroundOverlay object opacity

728 views
Skip to first unread message

geraldmc

unread,
Jul 30, 2010, 5:30:26 PM7/30/10
to Google Maps JavaScript API v3
Hi,

Is there a way to alter the opacity of a v3 google.maps.GroundOverlay
object?

For instance ...

http://code.google.com/apis/maps/documentation/javascript/examples/groundoverlay-simple.html

Using this example I'd like to see what's beneath the overlay (Newark,
NJ) while keeping the overlay map visible to the user.

There's an alternative approach via google.maps.OverlayView() but
having an accessible object literal 'opacity' for GroundOverlay would
be nice.

thx,
g

geraldmc

unread,
Jul 30, 2010, 10:23:40 PM7/30/10
to Google Maps JavaScript API v3
On searching this list (after posting) I found a solution,

John D. Coryat's ProjectedOverlay extension
http://www.usnaviguide.com/v3maps/ProjectedOverlayTest.htm
contains a function setOpacity() that works with v3.

g

On Jul 30, 5:30 pm, geraldmc <gmccol...@gmail.com> wrote:
> Hi,
>
> Is there a way to alter the opacity of a v3 google.maps.GroundOverlay
> object?
>
> For instance ...
>
> http://code.google.com/apis/maps/documentation/javascript/examples/gr...
Reply all
Reply to author
Forward
0 new messages