Here's the live site: http://afis.meraka.org.za/wamis/applications/fire.php
The code is not as clean as the example in my post, but it boils down to the same thing. Toggle the check boxes at the bottom to see the problem. The provinces overlay always remain at the bottom. On Jan 21, 11:43 am, AndreH <[email protected]> wrote: > Hi, > > I'm overlaying two layers on-top of Google Maps. The first is a > GGroundOverlay (JPG) and the other a GGeoXml (KML with some linear- > ring polygons). It seems as if it's not possible to have the kml layer > on-top of the jpg. Here's the code: > > var map = new GMap2(document.getElementById("map")); > map.setCenter(new GLatLng(-28,24), 5); > > var jpgLayer = new GGroundOverlay("http://..../some.jpg", new > GLatLngBounds(new GLatLng(-34.54,14.97), new GLatLng(-21.89,34.11))); > var kmlLayer = new GGeoXml("http://.../some.kml"); > > map.addOverlay(jpgLayer); > map.addOverlay(kmlLayer); > > Any help would be greatly appreciated. > > Regards, > Andre --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
