Nunezilla
03-17-2008, 01:08 PM
Hi,
I posted this question in the microsoft mappoint newsgroups before I discovered this forum, so apologies in advance for the double post for those who frequent both (I'll stick to the forum from now on).
I'm using the Mappoint 2006 ActiveX control in an MFC application. I am
plotting the route of a vehicle on a map using lines for the route and a
pushpin for the vehicle at the head of the route. The lines of the route are
showing through the pushpin icon and I'd like to find a way for the pushpin
icon to be fully visible over the line.
I've tried programmatically selecting the pushpin. This produces the
desired visual effect. However, I don't want to have to select the pushpin
because I want to allow user interaction.
I've tried changing the z-order position of the route lines. The only
z-order position that puts the lines behind the pushpin is
"geoSendBehindRoads" which is counter productive for my application.
Does anyone know of a way to make a pushpin appear selected without actually selecting it? Or does anyone know of a way to position a shape behind pushpins but in front of roads? Any other suggestions would be appreciated as well.
Thanks,
Nunezilla
I posted this question in the microsoft mappoint newsgroups before I discovered this forum, so apologies in advance for the double post for those who frequent both (I'll stick to the forum from now on).
I'm using the Mappoint 2006 ActiveX control in an MFC application. I am
plotting the route of a vehicle on a map using lines for the route and a
pushpin for the vehicle at the head of the route. The lines of the route are
showing through the pushpin icon and I'd like to find a way for the pushpin
icon to be fully visible over the line.
I've tried programmatically selecting the pushpin. This produces the
desired visual effect. However, I don't want to have to select the pushpin
because I want to allow user interaction.
I've tried changing the z-order position of the route lines. The only
z-order position that puts the lines behind the pushpin is
"geoSendBehindRoads" which is counter productive for my application.
Does anyone know of a way to make a pushpin appear selected without actually selecting it? Or does anyone know of a way to position a shape behind pushpins but in front of roads? Any other suggestions would be appreciated as well.
Thanks,
Nunezilla