this is the chrome error
Uncaught TypeError: Cannot read property 'Vector' of undefined

Is this a bug in OL or chrome?
How to solve it?

the application works fine on Firefox 3.6.6 but not in firefox4

this is the code creating problem
new_layer = new OpenLayers.Layer.Vector("layername_", {
        strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],
        projection: new OpenLayers.Projection("EPSG:4326"),
        protocol: new OpenLayers.Protocol.WFS({
            version: "1.0.0",
            srsName: "EPSG:4326",
            url: "http://localhost/cgi-bin/tinyows";,
            featureNS :  "http://www.tinyows.org/";,
            featureType: layername_ ,
            geometryName: "the_geom",
            schema: "
http://localhost/cgi-bin/tinyows?service=wfs&request=DescribeFeatureType&version=1.0.0&typename=tows:";
+ 'layername_'
        })});
      map.addLayer(new_layer);new_layer.refresh();

if this is commented out the it works but no output
-- 
Thanks && Regards
Rashad
_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to