Move extractStyles option to ol.format.KML

Fixes #3564
This commit is contained in:
Frederic Junod
2015-04-15 17:19:00 +02:00
parent ce1659bc14
commit 0bd368ce06

View File

@@ -11,9 +11,10 @@ var radius = $('#radius');
var vector = new ol.layer.Heatmap({
source: new ol.source.Vector({
extractStyles: false,
url: 'data/kml/2012_Earthquakes_Mag5.kml',
format: new ol.format.KML()
format: new ol.format.KML({
extractStyles: false
})
}),
blur: parseInt(blur.val(), 10),
radius: parseInt(radius.val(), 10)