MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




How to change the pushpin programmatically ?

This is a discussion on How to change the pushpin programmatically ? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, It's me again... I would like to know how to change the pushpin (for it to be a car ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-20-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
How to change the pushpin programmatically ?

Hi,

It's me again...
I would like to know how to change the pushpin (for it to be a car )

In C# please

see you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 12-20-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Re: How to change the pushpin programmatically ?

Quote:
Originally Posted by Jabba
Hi,

It's me again...
I would like to know how to change the pushpin (for it to be a car )

In C# please

see you

If you carefully peruse the Mappoint programming help. You can change the symbol property of each pushpin. I believe pushpin number 82, 83, 84 are cars(mappoint 2004). Hope this will help. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 12-21-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Thank you for your reply. I'm gonna try these
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 12-21-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I don't know how to create a new PushPin in MapPoint 2002 + C#

I tried

MapPoint.Pushpin pp;
pp.Symbol = 82;

I have error "use of unassigned variable pp"

The problem is that I can't do :

MapPoint.Pushpin = new MapPoint.Pushpin();


... anyone could help ? .......
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 12-21-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
That's ok... The reference on the pushpin can be obtained when we add the pushpin on the automated control

Now I want to reduce the shape width... If anyone know how please let me know
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
change, programmatically, pushpin


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
I need to change the cursor to a PushPin icon BobFromBoston MapPoint 2006/2009 Discussion 5 10-10-2005 06:45 PM
Detect a pushpin name change. Daniel MapPoint 2006/2009 Discussion 2 08-10-2004 06:27 AM
Get programmatically the type of roads baltazar MapPoint 2006/2009 Discussion 0 03-19-2004 05:22 AM
Programmatically Placing Pushpin on a Line jbendiner MapPoint 2006/2009 Discussion 0 01-05-2003 10:18 PM
Programmatically change territory colors Anonymous MapPoint 2006/2009 Discussion 1 08-08-2002 02:44 PM


All times are GMT -5. The time now is 07:01 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Madeira Holiday
Why not book a Madeira holiday through UlookUbook and enjoy this warm Portuguese island at a bargain price!



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59