Remove dimension option from KML parser

Geometry constructors now accept coordinates in any dimension
This commit is contained in:
Tim Schaub
2013-09-25 16:57:07 +02:00
parent 1aa83e133b
commit ce6fd5ab36
5 changed files with 5 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ var raster = new ol.layer.Tile({
var vector = new ol.layer.Vector({
source: new ol.source.Vector({
parser: new ol.parser.KML({
maxDepth: 1, dimension: 2, extractStyles: true, extractAttributes: true
maxDepth: 1, extractStyles: true, extractAttributes: true
}),
url: 'data/kml/lines.kml'
})