MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Mappoint 2009 - change symbol for pushpin

This is a discussion on Mappoint 2009 - change symbol for pushpin within the Development forums, part of the MapPoint 2006/2009 Discussion category; I am trying to change the default pushpin to something else. But I am getting the following error message. I ...


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

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



Click here to register

Reply

 

LinkBack (2) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 08-29-2008
zzz zzz is offline
Junior Member
White Belt
 
Join Date: Aug 2008
Posts: 2
Mappoint 2009 - change symbol for pushpin

I am trying to change the default pushpin to something else. But I am getting the following error message. I have included the code below. Pls. let me know if I am doing something wrong. thanks.

Error msg:
ArgumentException was unhandled -- The parameter is incorrect.

Code:
objFindResults = objMap.FindAddressResults(objSA.Street, objSA.City, , objSA.Region, objSA.PostalCode)

'checks to see if the address is a valid address
'If the first result is a good match, then use it
If objFindResults.ResultsQuality = MapPoint.GeoFindResultsQuality.geoFirstResultGood Then
'adds a pushpin on the map (that means its a valid address)
objPin = objMap.AddPushpin(objFindResults.Item(1), strName)
objPin.Symbol = 62
...



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 08-29-2008
Junior Member
Yellow Belt
 
Join Date: Mar 2007
Posts: 22
Re: Mappoint 2009 - change symbol for pushpin

I did not have chance to try MapPoint 2009 yet. But a post from this forum mentioned that 2009 only has 45 pushpin symbols. So your code objPin.Symbol = 62 might be out of range. Try the workaround suggested, import the 2006 symbols set.
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 08-29-2008
zzz zzz is offline
Junior Member
White Belt
 
Join Date: Aug 2008
Posts: 2
Re: Mappoint 2009 - change symbol for pushpin

I was looking at the help documentation of mappoint 2009, It shows that it has 335 standard symbols and symbol 62 is one of them.

help search criteria:symbol property (lists all 335 symbols)

Last edited by zzz; 08-29-2008 at 04:19 PM.
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 08-29-2008
Junior Member
Yellow Belt
 
Join Date: Mar 2007
Posts: 22
Re: Mappoint 2009 - change symbol for pushpin

Check this thread
Disappointed by Mappoint 2009
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 08-29-2008
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,480
Blog Entries: 1
Re: Mappoint 2009 - change symbol for pushpin

Yes, the help file for MapPoint 2009 regarding the Pushpins is incorrect... no explanation or admission yet, we'll see.

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 09-05-2008
Junior Member
Yellow Belt
 
Join Date: Nov 2004
Posts: 17
Re: Mappoint 2009 - change symbol for pushpin

Does anyone know where to get the complete set of pushpin bmps from MapPoint 2006?
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, mappoint 2009, pushpin, symbol


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/mappoint-2009-change-symbol-pushpin-8366.html

Posted By For Type Date
Microsoft MapPoint 2009 - MP2K Magazine This thread Refback 09-02-2008 09:34 AM
The Magazine for MapPoint - MP2K Magazine This thread Refback 08-29-2008 03:36 PM

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
Overcoming Pushpin Limitations in MapPoint 2009 VirtualEarth MSDN Blog Virtual Earth Blogs 0 07-28-2008 11:32 PM
MapPoint 2009 / Streets & Trips 2009 VirtualEarth MSDN Blog Virtual Earth Blogs 1 07-14-2008 07:52 PM
set pushpin symbol starbuck MapPoint 2006/2009 Discussion 3 10-19-2003 04:27 PM
Change the symbol of the Pushpins in a DataSet. Anonymous MapPoint 2006/2009 Discussion 1 12-15-2002 09:36 PM
Is there a way to use a different pushpin symbol w.... Anonymous MapPoint 2006/2009 Discussion 1 08-01-2001 08:59 AM


All times are GMT -5. The time now is 04:03 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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