On Jul 29, 2:02 pm, cement <[email protected]> wrote:
> I'm having trouble getting a GTileLayerOverlay above a group of
> GPolygons on a map. I've tried using the zPriority attr for the tiles,
> but it had no effect.
>
> Example site:http://mportlandrealestate.com/map-search/
>
> Clicking the map causes a polygon to .show(). The Overlays drop down
> as a Walk Score selection which adds a GTileLayerOverlay. This tile
> layer is always below the purple-ish area polygons and i want it to be
> above them so the heatmap is more visible if an area is selected.
>
> Any ideas?

I guess I don't understand why you would expect polygons to ever
display below map tile layers.

http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GTileLayerOverlay
class GTileLayerOverlay
A GTileLayerOverlay augments the map with a GTileLayer. It implements
the GOverlay interface and thus is added to the map using the
GMap2.addOverlay() method. The GTileLayer is presented on top of the
existing map imagery - to replace the imagery instead, put the
GTileLayer inside a custom GMapType.

Overlays should always be on top of map tiles.  Somewhere Mike
Williams documented the structure of the Google Maps API v2 DOM, if
you are interested (it was posted to the group quite a while ago).

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to