-
I cannot find a right solution to this problem: I get a route from the OSMR provider and draw it on the map with a Now, I want to remove the waypoint markers when the location is close to the geopoint of this marker. On location change, approximately every 1sec (range 880ms - 1100ms), I check the distance between the location and the geopoint:
The problem is the location speed (vehicle speed). what kind of solution did you find? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
Is this question related to VTM map library? It seems more a case of routing or navigation related to the application implementation. |
Beta Was this translation helpful? Give feedback.
-
I use VTM map library. I need to remove the marker when gps location (locationlayer) is near the marker (approx radius = 5mt). A solution that uses the opengl capabilities of the map? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Maybe I didn't explain it clearly enough. I already add and remove items in My problem is how remove item when location is near it (distance <= 5 meters) for the problem explained above |
Beta Was this translation helpful? Give feedback.
-
Understood. A last question about issue #578 OnLocationChanged function (gps update every 1 time/sec) I have implemented the Now, I noticed that with a simple tap on the map it starts working again. If no solution, how can I replicate the tap programmatically? |
Beta Was this translation helpful? Give feedback.
ItemizedLayer
has methods to add and remove markers.