Happy Holidays everyone! <br><br>I am having a bit of a problem with the vector layer. I added the vector layer adn it shows it properly upon loading the page, but if i pan in any direction, the vector moves more than it should. What would cause this? How can i fix it? I am using ka-map to show the map and running ms4w. here is the relevant vector code:
<br><br>var linearRing = new OpenLayers.Geometry.LinearRing([<br> new OpenLayers.Geometry.Point(1036611.14832322, 195424.10379100),<br> new OpenLayers.Geometry.Point(1036583.12835519, 195422.43390300
),<br> new OpenLayers.Geometry.Point(1036577.76822719, 195475.50398305),<br> new OpenLayers.Geometry.Point(1036606.86825922, 195484.15396706),<br> new OpenLayers.Geometry.Point
(1036611.14832322, 195424.10379100),<br> <br> ]);<br> var polygon = new OpenLayers.Geometry.Polygon([linearRing]); <br> <br> var feature = new OpenLayers.Feature();<br> feature.setGeometry
(polygon);<br> vector.addFeatures(feature);<br><br>thank you<br>