From 582b21a4b1d16ff62942dbe783d60144d9ae78c4 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 21 Apr 2011 21:59:28 +0000 Subject: [PATCH] Use OSM tiles for the wfs-snap-split.html example. git-svn-id: http://svn.openlayers.org/trunk/openlayers@11901 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/wfs-snap-split.html | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/examples/wfs-snap-split.html b/examples/wfs-snap-split.html index 7dc24734b6..d5f8d86e1c 100644 --- a/examples/wfs-snap-split.html +++ b/examples/wfs-snap-split.html @@ -112,13 +112,7 @@ ] }); - var wms = new OpenLayers.Layer.WMS( - "Base Layer", "http://demo.opengeo.org/geoserver_openstreetmap/gwc/service/wms", - { - layers: 'openstreetmap', - format: 'image/png' - } - ); + var osm = new OpenLayers.Layer.OSM(); var styles = new OpenLayers.StyleMap({ "default": new OpenLayers.Style(null, { rules: [ @@ -186,7 +180,7 @@ }) }); - map.addLayers([wms, wfs]); + map.addLayers([osm, wfs]); // configure the snapping agent var snap = new OpenLayers.Control.Snapping({layer: wfs});