hi friends,<br />
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.<br />
<br />
so is there is a problem with projection? or my code? <br />
i use the following code<br />
<br />
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 });<br />
<br />
... and ...<br />
<br />
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.<br />
<br />
<br />
Thanks<br><Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style="font-family:Verdana;font-size:11px;line-height:15px;"><TR><td><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A></td></TR></Table>