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

Blog Comments

  1. PROFIT100 Consulting's Avatar
    • |
    • permalink
    Download the [URL="http://www.mappoint2010.info"]IC-Symbolmanager[/URL].

    That is all you need.
    Manfred
  2. Eric Frost's Avatar
    • |
    • permalink
    Survey was closed, sorry... March 31st, 2009.

    You can post here for now -- MapPoint Desktop Discussion - Wish List at MapForums.com

    I don't know if they will be running a new survey this year.

    Eric
  3. Eric Frost's Avatar
    • |
    • permalink
    Survey was closed, sorry... March 31st, 2009.

    You can post here for now -- MapPoint Desktop Discussion - Wish List at MapForums.com

    I don't know if they are running a new survey this year.

    Eric
  4. Houndsman's Avatar
    • |
    • permalink
    Your survey link fails. Can you troubleshoot?
    v/r mark
  5. onenonlu_dickie's Avatar
    • |
    • permalink
    I understand the thought process your following here. The hash table seems to be the key but not following how to actually build this in my VBA code. Will wait when you update with the working code you mentionned. This will probably to better then my original plan as I always wanted to create my own custom png pushpins for my application. Thanks and look forward to the code.

    Richard
  6. baseman16's Avatar
    • |
    • permalink
    I'm running an application that works well with versions of mappoint before 2009. The lack of pushpins in the new version kind of messed with out application because we have specific pushpins to represent locations of specific objects. Also it needs to work with all versions of mappoint.

    Bare with me here because my code is at work but we reference the pushpins like so:

    currentmap.Symbol[n];

    of course any symbol above 45 would produce an exception. The solution I found works the best was to download the 2006 pushpins from the microsoft site and convert them to small png files(or whatever format suits you best), this takes some time but it's a one-time deal.

    Load these pushpins when the map fires up as extended pushpins so now you have the original 336(?) pushpins + 45 that ship with mappoint.

    Now what we want to happen is to call:
    currentMap.Symbol[1] and this will actually be grabbing the 46th symbol.

    In order to do this we need a hashtable to store the real pushpin locations. So we want the first entry into the hashtable to be:

    myHash.Add(1,46);

    so the key is 1 and the value is 46. We do this for all 335 pushpins. Basically everything is shifted by 45.

    Now when to get the first pushpin we do this:

    currentMap.Symbol[myHash[1]];

    which is the same as

    currentMap.Symbol[46];

    I think this may be a bit confusing so I'll add some working code tomorrow when i get into work. It will include how to load the bitmaps into memory and how to load the extended pushpins and all that good stuff.


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 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123