hi friends,
I am using the latest build of Openlayers and asp.net 3.5 I can add points and 
polygons etc in a vector layer but why does the vector layer shift when i zoom 
or pan the base layer? it shifts by a very small fraction, but it looks very 
bad for a mapping application. while the marker does not shift at all.

so is there is a problem with projection? or my code? 
i use the following code

vectors = new OpenLayers.Layer.Vector("Vector Layer"); var gphy = new 
OpenLayers.Layer.Google( "Google Physical", { type: G_PHYSICAL_MAP }); var gmap 
= new OpenLayers.Layer.Google("Google Streets", { 'sphericalMercator': false 
}); var gsat = new OpenLayers.Layer.Google("Google Satellite", { type: 
G_SATELLITE_MAP, 'sphericalMercator': false }); var ghyb = new 
OpenLayers.Layer.Google("Google Hybrid", { type: G_HYBRID_MAP, 
'sphericalMercator': false });

... and ...

wfs = new OpenLayers.Layer.Vector("Editable Features", { strategies: [new 
OpenLayers.Strategy.BBOX(), saveStrategy], projection: new 
OpenLayers.Projection("EPSG:4326"), protocol: new OpenLayers.Protocol.WFS({ 
version: "1.1.0", //opacity: 0.3, srsName: "EPSG:4326", url: 
"http://demo.opengeo.org/geoserver/wfs";, featureNS: "http://opengeo.org";, 
featureType: "restricted", geometryName: "the_geom", schema: 
"http://demo.opengeo.org/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=og:restricted";
 }) }); please help.


Thanks
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to