OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2011-10-13 06:01:26

Willaim
New Member
From: Adelaide
Registered: 2011-10-13
Posts: 3

Label in Vector Layer moving to incorrect position after drag the map

Label/point/line or any other feature in Vector Layer moving to incorrect position after drag the map. I change label(feature) postion in code every 10 seconds. If I drag the map, it will be in incorrect location. It seems vector layer not updated after dragging map unless I zoom the level or zoom in/out, but It costs a lot and lags the application about 1 second everytime. Markers layer works perfectly, just Vector Layer. Any one has the same problem? Help me out please!

Offline

#2 2011-10-13 17:50:51

Re: Label in Vector Layer moving to incorrect position after drag the map

What software are you talking about? Are you using Leaflet or Khtml?

Offline

#3 2011-10-14 00:27:59

Willaim
New Member
From: Adelaide
Registered: 2011-10-13
Posts: 3

Re: Label in Vector Layer moving to incorrect position after drag the map

It is Openlayers. I am using Openlayers & OSM in .net 4.0 Web Browser control. Actually I also try html with my code in IE & firefox. Same problem. It seems vector layers won't move with map. Is there any way I could upload a attachment?

Last edited by Willaim (2011-10-14 00:31:10)

Offline

Board footer

Powered by FluxBB 1.4.8
Hosting sponsored by Oxilion