You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
#1 2011-10-13 05:01:26
- Willaim
- 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 16:50:51
- stephan75
- Member
- Registered: 2008-05-28
- Posts: 2,918
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-13 23:27:59
- Willaim
- 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-13 23:31:10)
Offline