Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

number of pushpins of mappoint

This is a discussion on number of pushpins of mappoint within the MapPoint Desktop 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 ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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.

  2. #2
    jdwhytie is offline 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.

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. importing a raw number into mappoint
    By gwheeler in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-19-2005, 02:19 PM
  2. Zooming to a fixed number
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 09-08-2004, 02:30 PM
  3. Max number of Pushpins / Your suggestion?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 05-20-2004, 07:33 PM
  4. Missing Street Number Data in MapPoint 2004
    By scundy in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 11-04-2003, 12:02 PM
  5. is there a way to access the phone number of an it....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-18-2001, 06:04 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96