Add new olx.format.KMLOptions#extractStyles property

This commit is contained in:
Frederic Junod
2014-08-04 11:27:22 +02:00
parent 0a963d4615
commit 9e37aa796a
5 changed files with 31 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ goog.require('ol.source.Stamen');
var vector = new ol.layer.Heatmap({
source: new ol.source.KML({
extractStyles: false,
projection: 'EPSG:3857',
url: 'data/kml/2012_Earthquakes_Mag5.kml'
}),

View File

@@ -46,6 +46,7 @@ var styleFunction = function(feature, resolution) {
var vector = new ol.layer.Vector({
source: new ol.source.KML({
extractStyles: false,
projection: 'EPSG:3857',
url: 'data/kml/timezones.kml'
}),