OL3是否支持KMZ

时间:2015-08-04 04:39:12

标签: javascript openlayers-3

如何在Openlayers中处理KMZ文件3.有什么办法请告诉我。

var vector = new ol.layer.Vector({
          source: new ol.source.KML({
              extractStyles: true,
              projection: 'EPSG:3857',
              url: 'http://www.spc.noaa.gov/products/watch/ActiveWW.kmz'
            }),
          style: styleFunction
        });

0 个答案:

没有答案