If you use MapType instead of ImageMapType you have a handle to the
IMG objects that hold the tiles, (because you create them).
With that handle you can set the opacity directly, and there's no need
to add/remove.

http://maps.forum.nu/v3/gm_customTiles.html

--
Marcelo - http://maps.forum.nu
--



On May 28, 12:11 am, Garthan <[email protected]> wrote:
> I have a way that works.
>
> I am removing and altering the opacity
> by a questionable technique then re-adding it.
>
>  map.overlayMapTypes.removeAt(0);
>  struct.b.opacity=1;
>  map.overlayMapTypes.insertAt(0,struct);
>
> http://www.microimages.com/ogc/maps/seven42.html

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