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
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user