PushPin and shape drawing Order

EvetsMostel
04-12-2007, 08:40 AM
In my application using the activeX control, I am drawing lines in MapPoint to show where we've come from. I have to select the PushPin because otherwise MP draws the lines over the top of it. I've tried putting the line "In front of Roads" but this still draws over the PushPin. If I put the line "behind Roads", then it draws behind the PushPin, but of course, my lines are under the roads (not desireable). the "BringForward" and "SendBack" don't seem to do anything, except between shapes. Is there anything that can be done here? Also, if I do a CopyMap, the PushPin is no longer selected, even if it is in the Window. I have verified this in the application as well.

Any help would be appreciated.

Steve

Wilfried
04-13-2007, 03:06 AM
You could do that by making the line a little shorter, so start few pixel away from the first pushpin and end a few pixel away from the other pushpin.

To do that you need to make 2 more Location objects at the ritght place. To calculate the right place first calculate the heading of the line.

 
Web mp2kmag.com
mapforums.com