MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




number of pushpins of mappoint

This is a discussion on number of pushpins of mappoint within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; hi, i'm writing an application that uses symbols loaded from .bmp images, when i want to add a pushpin with ...


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

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 07-21-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
number of pushpins of mappoint

hi,

i'm writing an application that uses symbols loaded from .bmp images, when i want to add a pushpin with on of these symbols i only have to know the id of the symbol.... the problem is that i load an initial map with all that bmp-symbols to be faster.... in mappoint 2002 it started in id number 256 but now in 2004 there are more symbols and that number has changed.

My question if is there a way to know the initial id of that bmp-symbols that i pre-loaded in the map... i know that if i load them by code i get the id but my question is to know the id of new symbols preloaded in the map... thats because the application must run in mappoint 2004 and 2002 showing the same symbols.

bye, thx.
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 07-21-2004
Member
Yellow Belt
 
Join Date: Jun 2004
Posts: 37
I have Mappoint 2004 and it has 335 preloaded pushpin images. So if you load your own, they would begin at 336.
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-05-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Pins

I do not reference the pins directly, I load the bitmap thus:

lCarIcon = oMap.Symbols.Add("\Carboss\Data\CarLocationW.bmp") + 1

This has the effect of assiging lCarIcon to the next available number for the pin, therefore when you assign it to the pin you can do this:

oPin.Symbol = oMap.Symbols.item(lCarIcon)

Thats my way of doing it anyway.

Richard
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
mappoint, number, pushpins


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
importing a raw number into mappoint gwheeler MapPoint 2006/2009 Discussion 1 05-19-2005 02:19 PM
Zooming to a fixed number Anonymous MapPoint 2006/2009 Discussion 7 09-08-2004 02:30 PM
Max number of Pushpins / Your suggestion? Anonymous MapPoint 2006/2009 Discussion 4 05-20-2004 07:33 PM
Missing Street Number Data in MapPoint 2004 scundy MapPoint 2006/2009 Discussion 2 11-04-2003 12:02 PM
is there a way to access the phone number of an it.... Anonymous MapPoint 2006/2009 Discussion 1 12-18-2001 06:04 AM


All times are GMT -5. The time now is 06:46 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