Merge pull request #3565 from fredj/fix-3564
Move extractStyles option to ol.format.KML
This commit is contained in:
@@ -11,9 +11,10 @@ var radius = $('#radius');
|
|||||||
|
|
||||||
var vector = new ol.layer.Heatmap({
|
var vector = new ol.layer.Heatmap({
|
||||||
source: new ol.source.Vector({
|
source: new ol.source.Vector({
|
||||||
extractStyles: false,
|
|
||||||
url: 'data/kml/2012_Earthquakes_Mag5.kml',
|
url: 'data/kml/2012_Earthquakes_Mag5.kml',
|
||||||
format: new ol.format.KML()
|
format: new ol.format.KML({
|
||||||
|
extractStyles: false
|
||||||
|
})
|
||||||
}),
|
}),
|
||||||
blur: parseInt(blur.val(), 10),
|
blur: parseInt(blur.val(), 10),
|
||||||
radius: parseInt(radius.val(), 10)
|
radius: parseInt(radius.val(), 10)
|
||||||
|
|||||||
Reference in New Issue
Block a user