From 2e965baa17819daa3849afb3f8d383e8ca8db339 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Wed, 19 Sep 2007 13:44:15 +0000 Subject: [PATCH] Make KML example use kml/lines.kml instead of the now-deleted mc-search.kml. (See #1001) git-svn-id: http://svn.openlayers.org/trunk/openlayers@4393 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/kml-layer.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/kml-layer.html b/examples/kml-layer.html index 2e91865a6b..da99f9c184 100644 --- a/examples/kml-layer.html +++ b/examples/kml-layer.html @@ -19,8 +19,8 @@ layer = new OpenLayers.Layer.WMS( "OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} ); map.addLayer(layer); - map.addLayer(new OpenLayers.Layer.GML("KML", "kml/mc-search.kml", {format: OpenLayers.Format.KML})); - map.zoomToMaxExtent(); + map.addLayer(new OpenLayers.Layer.GML("KML", "kml/lines.kml", {format: OpenLayers.Format.KML})); + map.zoomToExtent(new OpenLayers.Bounds(-112.306698,36.017792,-112.03204,36.18087)); }