use goog.global, restructure to have ol.parser.KML instead of ol.parser.ogc.KML

This commit is contained in:
Bart van den Eijnden
2013-04-10 10:17:28 +02:00
parent 577ebd6abe
commit 8cc70f35d9
18 changed files with 47 additions and 46 deletions

View File

@@ -4,7 +4,7 @@ goog.require('ol.RendererHint');
goog.require('ol.View2D');
goog.require('ol.layer.TileLayer');
goog.require('ol.layer.Vector');
goog.require('ol.parser.ogc.KML');
goog.require('ol.parser.KML');
goog.require('ol.projection');
goog.require('ol.source.TiledWMS');
goog.require('ol.source.Vector');
@@ -40,7 +40,7 @@ var map = new ol.Map({
})
});
var kml = new ol.parser.ogc.KML({
var kml = new ol.parser.KML({
maxDepth: 1, dimension: 2, extractStyles: true, extractAttributes: true});
$.ajax({