MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




pushpin symbols from imagelist?

This is a discussion on pushpin symbols from imagelist? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm rather new to MapPoint. My current vb.net project requires the use of many custom pushpin symbols. Easy enough: Code: ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-23-2004
MapMonkey's Avatar
Junior Member
White Belt
 
Join Date: Jun 2004
Posts: 2
pushpin symbols from imagelist?

I'm rather new to MapPoint. My current vb.net project requires the use of many custom pushpin symbols. Easy enough:

Code:
If File.Exists(Application.StartupPath & "\Symbols\New.ico") Then
   symNew = mSymbols.Add(Application.StartupPath & "\Symbols\New.ico")
   oMap.DataSets("New").Symbol = symNew.ID
Else
   oMap.DataSets("New").Symbol = 17
End If
However, I would prefer to load the custom symbols from an imagelist, keeping "inquiring minds" from "improving" the symbols used for specified db values (the whole point of the app is to standardize symbology). So far my efforts have failed.

Q: Are there options to symbols.Add(PathToImage) for loading images into the symbols collection?

Thanks in advance.
__________________
"Quit worrying about the data and just make it work!" - Former Boss
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 06-24-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hi, I had the same issue a while back & found no truly slick solution….maybe someone here has one for both of us.

You could of course pump the images out into temp files at run time.

What I ended up doing was just loading the custom images by hand into a “blank” map and using it as a starting point…notionally as a sub-class of NewMap.

Another note…you may already know…it is worth setting up usable names for your symbols and referring to them in code by name rather than index. Aside from being easer to read, it saves you from having to check the MP version to calculate the starting base for custom symbols. You can also trap the errors is something is missing. Setting up an enum works really nice….MyEnum.ASymbol.ToString gives you the name and keeps your typing strong.
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 06-24-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Darn....keep forgetting to put my name on my posts.
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


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
Having trouble getting symbols to match MapPoint's symbols BobFromBoston MapPoint 2006/2009 Discussion 1 05-07-2006 01:06 PM
How can I use the Symbols (i.e. car) on a VB form? Anonymous MapPoint 2006/2009 Discussion 1 03-01-2005 01:23 PM
Custom Symbols Anonymous MapPoint 2006/2009 Discussion 1 11-20-2003 12:21 PM
Pulldown-menu with Pushpin-Symbols rms62 MapPoint 2006/2009 Discussion 0 06-25-2003 05:12 AM
Different Pushpin Symbols from Spreadsheet Terry MapPoint 2006/2009 Discussion 0 05-20-2003 12:52 AM


All times are GMT -5. The time now is 08:21 AM.


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

Ski Spain
Ski in Spain to enjoy the rich culture and bustling restaurants and bars. Skiing in Spain is suitable for a range of standards and is great value when you book at Holiday Hypermarket.

Turkey Weather
Check Turkey Weather before you travel. We provide information on Turkey including weather, flights and accommodation.

Cape Town Flight
Book a Cape Town Flight for great value when you book through dealchecker.co.uk. It doesn't take long to find the latest great deals for you.

Holidays to St Lucia
Holidays to St Lucia will leave you smiling. The spectacular scenery and the warmth of the locals make holidays to St Lucia unforgettable.

Cheap Morocco Holidays
Cheap Morocco holidays may be the answer to your cheap holiday search. With sunshine throughout most of the year it can be great value if you avoid the peak season. Why not include a trip to the small tranquil town of Chefchaouen Tangier in your visit?

Bargain Holidays
To plan your holidays at bargain prices, use Travel.co.uk to explore all the possibilities.

Holidays in Florida
Take a break! Enjoy stunning coastline! Info on holidays in Florida available at On The Beach!


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