If you're just looking to overlay with an image that has variable opacity, you could also take a look at this from the Demo Gallery from John Coryat
http://www.usnaviguide.com/v3maps/ProjectedOverlayTest.htm I was able to take the code for this and combine it with an opacity slider from somewhere else so that I could adjust the opacity of the image. Now Marcello has an excellent Demo here too and perhaps what you're looking for: http://maps.forum.nu/v3/gm_customTiles.html View the page source for the js files used. I didn't do it this way because I didn't want to create the tile directories of the image for the different zoom levels at present. Might have to go that way later but in the initial development stage here, bringing in a 200K PNG image using the ProjectedOverlay code worked well at all zoom levels and seemed pretty fast. I did make a few modifications to the code to get it to work as there were some issues whet I tried clicking on the different opacity %s in the original code. Removing those and merging the code with an opacity slider worked pretty well. Yeah, I do agree that an opacity setting for overlays should be a standard method and opacity a standard property here. - Dave M On Jan 20, 4:41 pm, PaulC <[email protected]> wrote: > My understanding is with v3 you need to create a custom map type if > you want to overlay a map with tiles with variable opacity. Does > anybody have example code of how this is done because, quite frankly, > the documentation is pretty weak on this. > > Am I the only person who is being to believe that v3 was created to > discourage people for using the API. So far all I'm finding is how v3 > makes things more difficulty with no obvious advantages. -- 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.
