Hello,
I add waypoints to a route with the following line:
How can I make the labels been shown on the map?Code:way = route.Waypoints.Add(loc, "Label");
Bye,
MD
This is a discussion on Label Waypoints within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hello, I add waypoints to a route with the following line: Code: way = route.Waypoints.Add(loc, "Label"); How can I make ...
Hello,
I add waypoints to a route with the following line:
How can I make the labels been shown on the map?Code:way = route.Waypoints.Add(loc, "Label");
Bye,
MD
Hi,
Something like this will get you going:
However I dont know if you can show them all together on the map...Code:Directions dir = route.Directions; foreach (MapPoint.Direction d in dir) { if (d.Type == GeoDirectionType.geoDirectionWaypoint) { if (d.Waypoint.Name == "Label") d.Select();
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
I'm not sure if I explained it right.
I have the GPS latitude and longitude of several points. I added them as waypoints to MapPoint and made a route out of them.
Now, I want to add additional data (like a time stamp) to each waypoint and the information should be shown in MapPoint.
Bye,
MD
Hi,
Then I suggest to put a pushpin on each waypoint an you can give it a text balloon with the additional information. You can nice format it with CrLf and Tab characters.
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
I solved it now with pushpins having a text ballon showing the time information. How can I now disable the waypoints label? The number of the waypoints are shown (1,2,3...).
Bye,
MD
Hi,
You can hide each balloon with following code:
Code:PP.BalloonState = GeoBalloonState.geoDisplayNone;
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
Hello,
I don't want to disable the balloons.
I'm looking for a way to disable the numbering of the waypoints on the map.
Each waypoint is indicated by a number on the map and I would like to get rid of these numbers on the map.
Is there a description on the Web about all the methods provided by the MapPont COM object?
Bye,
MD
Hi,
Dont think it is possible, but a workaround could be you place your own symbols on top of each waypoint, so the original data with the number in it is then hidden.
Mappoint (Europe) comes with complete help for programming. In the help is a button 'options' then 'show tabs'. then you have 'programming information' with all there is inside![]()
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
thank you very much for your support.
I have had a similar problem when displaying a route, although i have not been able to hide the numbers associated with each waypoint in the route, if you add a pushpin on top of the waypoint and then call the Select() method on the pushpin it will bring the pushpin to the front and hide the waypoints number, untill the waypoint is selected
There are currently 1 users browsing this thread. (0 members and 1 guests)