kml - Render kmz file data on google map with geoxml3 -


i use kmz branch of geoxml3 simple render geo date kmz file. works not well. placemarks rendering fine, cant see overlays. code:

    $doc->addscript($this->baseurl.'/components/com_google_map/assets/zipfile.complete.js', 'text/javascript');     $doc->addscript($this->baseurl.'/components/com_google_map/assets/geoxml3.js', 'text/javascript');     $doc->addscript($this->baseurl.'/components/com_google_map/assets/projectedoverlay.js');     <script type="text/javascript">         google.load("earth", "1");         var mymap;         var minzoomlevel = 3;         var geoxml;           function initialize() {             var mapoptions = {               center: new google.maps.latlng(55.01, 82.85),               zoom: 8,               maptypeid: google.maps.maptypeid.roadmap             };             mymap = new google.maps.map(document.getelementbyid("map_canvas"),                 mapoptions);             geoxml = new geoxml3.parser({map: mymap, afterparse: showgeodata});             geoxml.parse('/components/com_google_map/soil_moisture/soil.zip');           }           function showgeodata(doc) {                 console.log(doc);                 geoxml.showdocument(doc);         };     </script> 

and kml:

<?xml version="1.0" encoding="utf-8"?> <kml xmlns="http://earth.google.com/kml/2.0"> <document>   <name>soil_moisture</name>   <description>retrieved soil moisture value sm_oper_mir_smudp2_20120916t130233_20120916t135546_551_001_1</description>   <groundoverlay>     <name>raster data</name>     <visibility>1</visibility>     <latlonbox>       <north>90.0</north>       <south>-90.0</south>       <east>180.0</east>       <west>-180.0</west>       <rotation>0</rotation>     </latlonbox>     <icon>       <href>overlay.png</href>     </icon>   </groundoverlay>   <screenoverlay>     <name>legend</name>     <icon>       <href>legend.png</href>     </icon>     <overlayxy x="0" y="1" xunits="fraction" yunits="fraction" />     <screenxy x="0" y="1" xunits="fraction" yunits="fraction" />   </screenoverlay> </document> </kml> 

both of png files included @ kmz. , there no errors or warnings in console. help?

p.s. sorry english.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -