Hello,
I am woundering how to keep a point centered on the screen like you could in the 2.0 version of your product.
I believe you had a truck driving around the screen...
Thanks in advance,
Dan
Hello,
I am woundering how to keep a point centered on the screen like you could in the 2.0 version of your product.
I believe you had a truck driving around the screen...
Thanks in advance,
Dan
I want to make sure I understand exactely what you need. Do you want the Map to be always centered on a vehicle as it moves around. So that, the center of the map is always on that vehicle. Correct?
Dan,
I am not very sure how the 2.0 version do which you mentioned, could you give me more information about that?
If your requirement is the same as Val said, I can guide you to implement it.
I want to use HowDoI sample EfficientlyMoveAPlaneImage to be a prototype that can save some redundant words. This sample uses Timer to move a plane regularly, every time when timer tick, the plane will move to the new position with new world coordinate. At this time, you want to move the map and keep the plane is still the center of map that you can call the API winformsMap1.CenterAt and pass in the coordinate.
Please let me know if I am not clear.
Thanks
James
The second post from "Val" is what I’m looking for. My vehicle does not need to be exactly centered on every movement of the vehicle as this would cause the map to continually redraw, but I would like to keep it in the center with some tolerance.
Any advice would be appreciated,
Dan
I let you know that we have a new project in the Code Community "Centering On A Moving Vehicle" that illustrates with a concrete GPS case how to use the CenterAt API.
code.thinkgeo.com/projects/show/centeringonmoving
I understand you want some tolerance before recentering the map to avoid redrawing the map each time. I can slightly modify the project "Centering On A Moving Vehicle" to have that feature. If you have any other suggestions, let us know.