Glad it worked for you... GeoXml it makes me curious though
you should be able to load a tile overlay before you add the GGeoXml
kml overlay and have it work.

This seems like a shoe string case for using GeoXml unless you want
other of its features.

Lance Dyas
http://www.dyasdesigns.com/geoxml/


On May 20, 8:12 am, MK <[email protected]> wrote:
> I've found another way to solve my problem. I just used the GeoXML
> from Lance Alan Dyas to render the kml files... works just great.
>
> On 20 Mai, 13:45, Björn Brala <[email protected]> wrote:
>
>
>
> > The MapType contains layers (as you can see from the getTIleLayers call).
> > This means you should be able to control de TileLayer opacity iuf you have a
> > reference to the layer. Never tried it tho :)
>
> > 2010/5/20 MK <[email protected]>
>
> > > Hi,
>
> > > thanks for that suggestion. It seems that using the method of creating
> > > an own GMapType will indeed work in such sense, that the kml-overlays
> > > are alway on top of that overlay.
>
> > > However, I actually used the other method to control the transparency
> > > of the tiled overlay using a slider. That is really cool, since the
> > > regular map types are visible underneath it.
>
> > > My question therefore is, is it possible to combine an own GMapType
> > > with an original in such way, that the transparancy of the GMapType
> > > can be controlled?
>
> > > Thank you
> > > Malte
>
> > > On 19 Mai, 19:32, Björn Brala <[email protected]> wrote:
> > > > 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]>
> > > <google-maps-api%[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/-Googlemaps - Swis
> > > Webdesignwww.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]<google-maps-api%[email protected]>
> > > .
> > > > For more options, visit this group athttp://
> > > groups.google.com/group/google-maps-api?hl=en.
>
> > > --
> > > 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 
> > Webdesignwww.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 
> > athttp://groups.google.com/group/google-maps-api?hl=en.
>
> --
> 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 
> athttp://groups.google.com/group/google-maps-api?hl=en.

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