[OpenLayers-Commits] r7515 - sandbox/topp/trimet/examples
commits at openlayers.org
commits at openlayers.org
Tue Jul 15 16:33:36 EDT 2008
Author: tschaub
Date: 2008-07-15 16:33:36 -0400 (Tue, 15 Jul 2008)
New Revision: 7515
Modified:
sandbox/topp/trimet/examples/v2-bbox-wfs-gml.html
Log:
updated example
Modified: sandbox/topp/trimet/examples/v2-bbox-wfs-gml.html
===================================================================
--- sandbox/topp/trimet/examples/v2-bbox-wfs-gml.html 2008-07-15 20:19:26 UTC (rev 7514)
+++ sandbox/topp/trimet/examples/v2-bbox-wfs-gml.html 2008-07-15 20:33:36 UTC (rev 7515)
@@ -25,11 +25,14 @@
var layer = new OpenLayers.Layer.Vector("GML", {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
- url: "http://sigma.openplans.org/geoserver/wfs",
- featureType: "topp:tasmania_cities",
+ url: "http://publicus.opengeo.org/geoserver/wfs",
+ featureType: "tasmania_roads",
featureNS: "http://www.openplans.org/topp"
}),
- format: new OpenLayers.Format.GML()
+ format: new OpenLayers.Format.GML.Base({
+ featureType: "tasmania_roads",
+ featureNS: "http://www.openplans.org/topp"
+ })
});
map.addLayers([wms, layer]);
More information about the Commits
mailing list