I'd say create your own GMapType with normal map tiles and you tile layer, i
think that should do the trick in putting the kml above the tilelayer.

http://mapki.com/wiki/Add_Your_Own_Custom_Map

Get the tilelayers of standard google maps by calling
G_NORMAL_MAP.getTileLayers()

Combine and prosper?

2010/5/19 MK <[email protected]>

> Hi,
>
> I have a little problem I hope anybody can help me with:
>
> I have generated a html-file with google maps implemented using
> MapTiler - that means that tiled overlay using the GTileLayerOverlay-
> function is implemented. All that works just fine.
>
> Now I want to add several kml-overlays (which include markers and
> polylines). Using
>
> var kml_ad = new GGeoXml("xxx.kml");
> map.addOverlay(kml_ad);
>
> this is no problem either. Everything shows up - the tiled overlay as
> well as the kml-overlay.
>
>
> But here's my problem: the kml-overlay always shows up below the tiled
> overlay. I have found no way to figure out how to manually set some
> sort of z-Index for the various overlay (tiled and kml).
>
> When the different kml-overlays are not in that perticular order I
> actually would like them to have, it is still OK. But those kml-
> overlays should be on top of that tiled overlay...
>
>
> Has anybody an idea to solve that problem?
>
>
> Thank you very much
> Malte
>
> --
> 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]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>


-- 
Bjorn Brala
----------------
www.GeoStart.nl/english/ - Google maps - Swis Webdesign
www.twitter.com/bbrala

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