Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on How I can Disable the summary of map when I Draw a Route within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi All, I m using Mappoint with C#.I want to disabel the summary of the map when I draw a ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| How I can Disable the summary of map when I Draw a Route I m using Mappoint with C#.I want to disabel the summary of the map when I draw a route.Also I want to display this summary on a button click. How can I implement this in C#. Thanxx |
| |||
|
Hi, To hide the summary of your route just use the ItineraryVisible property in your MapPointControl Code: MapPointControl1.ItineraryVisible = False If you create a button, the code is Code: MapPointControl1.ItineraryVisible = True I think it is not hard to translate in c# Code:
Sub HideItinerary()
Dim objApp As New MapPoint.Application
Dim objMap As MapPoint.Map
Dim objRoute As MapPoint.Route
'Configure l'application
Set objMap = objApp.ActiveMap
Set objRoute = objMap.ActiveRoute
objApp.Visible = True
objApp.UserControl = True
'Ajoute deux étapes et calcule un itinéraire
objRoute.Waypoints.Add objMap.FindResults("Seattle, WA").Item(1)
objRoute.Waypoints.Add objMap.FindResults("Redmond, WA").Item(1)
objRoute.Calculate
'Masque maintenant l'itinéraire qui était apparu automatiquement ci-dessus
objApp.ItineraryVisible = False
End Sub
|
![]() |
| Tags |
| disable, draw, map, route, summary |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to draw behind the map (C++) & disable Busy server ( | Laurent | MapPoint 2006/2009 Discussion | 3 | 06-22-2006 01:12 PM |
| Delete Numerator from waypoints when i draw a route | Genamo | MapPoint 2006/2009 Discussion | 0 | 02-23-2006 03:18 AM |
| summary to access form help please | nmilne | MapPoint 2006/2009 Discussion | 3 | 01-15-2006 03:22 PM |
| Draw a route between two LONGS LATS | Anonymous | MapPoint 2006/2009 Discussion | 1 | 02-16-2005 09:08 AM |
| to draw my own map | rushang | MapPoint 2006/2009 Discussion | 0 | 01-23-2005 10:55 PM |
Lanzarote Holiday
Enjoy a Lanzarote holiday when you check out the offers on UlookUbook and save cash!