Community of VE/MapPoint Users and Developers
This is a discussion on [C#] MappointControl - Pushpin symbol within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, i need to show some individual symbols for my pushpins, but i can't find exactly how to do it. ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| [C#] MappointControl - Pushpin symbol i need to show some individual symbols for my pushpins, but i can't find exactly how to do it. I'm adding the pushpin this way: Code: MapPoint.Location loc = map.GetLocation(latitude, longitude, altitude); MapPoint.Pushpin pushpin = map.AddPushpin(loc, loc.Name); Is it somehow possible to use these Standard-Icons from MapPoint: http://msdn.microsoft.com/library/de...ablesIcons.asp Thanks, greets mike |
| |||
|
Hi Mike, While I'm not sure about C#, you can do it in VB by updating the Symbol property of the pushpin object you create in the AddPushPin method. I would expect that it would be similar in C#. Code: Dim oLoc As MapPointCtl.Location Dim oPin As MapPointCtl.Pushpin Set oLoc = map.ActiveMap.GetLocation(Latitude, Longitude) Set oPin = map.ActiveMap.AddPushpin(oLoc, "Pin Name") oPin.Note = "Balloon Note goes here" oPin.BalloonState = geoDisplayName oPin.Symbol = 87 ' Green Truck Symbol Brian McGrath CAD North Inc. http://www.cadnorth.com |
| |||
|
Hi, Check messages off yesterday or day before to add cstom bitmaps. I have no mappoint on this machine...
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Quote:
I would like to use the simple blue car or one with an arrow, how do i find out, witch nr they have without trial and error? |
| |||
|
Hi, Code: how do i find out, witch nr they have without trial and error?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| mappointcontrol, pushpin, symbol |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Return Pushpin Symbol | Anonymous | MapPoint 2006/2009 Discussion | 1 | 04-27-2005 03:12 PM |
| Adding custom pushpin symbol | M.Vrolijk | MapPoint 2006/2009 Discussion | 2 | 09-20-2004 07:55 AM |
| MappointControl and Pushpin | Anonymous | MapPoint 2006/2009 Discussion | 4 | 07-06-2004 09:11 AM |
| set pushpin symbol | starbuck | MapPoint 2006/2009 Discussion | 3 | 10-19-2003 04:27 PM |
| Is there a way to use a different pushpin symbol w.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-01-2001 08:59 AM |