I'm programming an activex mappoint control in visual C/MFC... where i show the route of a truck.
I'm using addshape to show the origin and destination of the truck as a rectangle with text.... and pushpins (points) to show the journey of the truck.
The problem is that i must do a goTo() before the addshape() for 2 reasons:
1.- if i'm adding the shape in a location out of the current limits of the shown map it's not painted
2.- if i paint the shape before i paint all the points and zoom all the zone it works but i lost precision and then the points get out of the shape.
Some ideas, thanks.
(sorry for my english)