I want to make a terrain map with a transparent road layer on top of it,
similar to the way that the hybrid map puts a road layer and related info on
top of a satellite view.

I tried creating a StyledMapType using these styles:

    var styles = [
        {
            featureType: "all",
            elementType: "all",
            stylers: [
                { visibility: "off" }
            ]
        },
        {
            featureType: "road",
            elementType: "all",
            stylers: [
                { visibility: "on" }
            ]
        }
    ];

But it doesn't do what I want. The tiles from the StyledMapType have an
opaque "landscape" background.

Here's a test page:

http://mg.to/test/roadlayer/

If you load the page with an empty cache, you will see the terrain map load,
and then right after that the road map will load over it - but the road map
tiles have a light tan background instead of the transparent background I'm
looking for.

I scoured the APIs and didn't find any way to get this to work. I wonder if
anyone has any ideas?

Thanks,

-Mike

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