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

@@ -54,7 +54,7 @@ var style = new ol.style.Style({
var vector = new ol.layer.Vector({
source: new ol.source.Vector({
parser: new ol.parser.KML({dimension: 2}),
parser: new ol.parser.KML(),
url: 'data/kml/timezones.kml'
}),
style: style