[OpenLayers-Commits] r2068 - sandbox/vector/examples
commits at openlayers.org
commits at openlayers.org
Fri Dec 15 10:39:42 EST 2006
Author: crschmidt
Date: 2006-12-15 10:39:42 -0500 (Fri, 15 Dec 2006)
New Revision: 2068
Modified:
sandbox/vector/examples/wfs-T.html
Log:
I want to be the king of france! So I will make all of france editable, and
I will also make the map bigger.
Modified: sandbox/vector/examples/wfs-T.html
===================================================================
--- sandbox/vector/examples/wfs-T.html 2006-12-15 15:31:37 UTC (rev 2067)
+++ sandbox/vector/examples/wfs-T.html 2006-12-15 15:39:42 UTC (rev 2068)
@@ -2,8 +2,8 @@
<head>
<style type="text/css">
#map {
- width: 500px;
- height: 400px;
+ width: 95%;
+ height: 95%;
border: 1px solid black;
}
</style>
@@ -14,8 +14,6 @@
function init(){
- OpenLayers.ProxyHost="/cgi-bin/proxy.cgi?url=";
-
var selection = new OpenLayers.Control.EditingTool.Selection();
var navigation = new OpenLayers.Control.MouseDefaults();
var toolbar = new OpenLayers.Control.EditingToolbar();
@@ -32,12 +30,12 @@
]});
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
- "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
+ "http://labs.metacarta.com/wms-c/Basic.py", {layers: 'basic'} );
map.addLayer(layer);
line = new OpenLayers.Layer.WFS("Line",
"/geoserver/wfs",
- {typename: "line", geometry_column: 'the_geom', maxZoomLevel : 6},
+ {typename: "line", geometry_column: 'the_geom', maxZoomLevel : 4},
{featureClass: OpenLayers.Feature.WFS, style: new OpenLayers.Style({strokeColor: "red"})});
map.addLayer(line);
More information about the Commits
mailing list