From e30f267181d990947e67909de4809fa941698c85 Mon Sep 17 00:00:00 2001 From: Chris Schlaeger Date: Sat, 17 Oct 2015 21:36:38 +0200 Subject: Upgrading openlayers to 3.x --- misc/openlayers/examples/kml-layer.js | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 misc/openlayers/examples/kml-layer.js (limited to 'misc/openlayers/examples/kml-layer.js') diff --git a/misc/openlayers/examples/kml-layer.js b/misc/openlayers/examples/kml-layer.js deleted file mode 100644 index 1b0e85e..0000000 --- a/misc/openlayers/examples/kml-layer.js +++ /dev/null @@ -1,22 +0,0 @@ -var map = new OpenLayers.Map({ - div: "map", - layers: [ - new OpenLayers.Layer.WMS( - "WMS", "http://vmap0.tiles.osgeo.org/wms/vmap0", - {layers: "basic"} - ), - new OpenLayers.Layer.Vector("KML", { - strategies: [new OpenLayers.Strategy.Fixed()], - protocol: new OpenLayers.Protocol.HTTP({ - url: "kml/lines.kml", - format: new OpenLayers.Format.KML({ - extractStyles: true, - extractAttributes: true, - maxDepth: 2 - }) - }) - }) - ], - center: new OpenLayers.LonLat(-112.169, 36.099), - zoom: 11 -}); -- cgit v1.2.3