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 9 of 9

Hiding map point pushpins - Can this be done?

This is a discussion on Hiding map point pushpins - Can this be done? within the MapPoint Desktop Discussion forums, part of the Map Forums category; I use Mappoint maps a LOT, and have a "Master map" file with all data points on it. The question ...

  1. #1
    rcwilliams is offline Junior Member White Belt
    Join Date
    Nov 2004
    Posts
    2

    Hiding map point pushpins - Can this be done?

    I use Mappoint maps a LOT, and have a "Master map" file with all data points on it. The question is, is there a way to "turn off"/hide certain data sets within a map point map when you are not wanting to see them.

    For example, I have truckstops across the US mapped, or all zip codes throughout the US, but at times may not want these to show up on the map. How can I hide a dataset of pushpins??

    Thanks for your help.

    Ron

  2. #2
    Fer
    Fer is offline Junior Member White Belt
    Join Date
    Jun 2003
    Posts
    11

    RE: Hiding map point pushpins - Can this be done?

    I think you have 2 ways to go around your issue:

    1.- Completely delete the dataset from your map, this will definitely hide your pushpins but it may not be optimal depending on how many pins you have and how long it may take to make them visible again, which translates into recreating them from scratch.

    2.- Use a blank or transparent icon and change the pushpin symbol to use this custom icon. I think this may be your best bet since it may be faster than deleting and recreating your pins every time you hide/unhide them.

    HTH,

    Fernando

  3. #3
    tonyc789698 is offline Junior Member White Belt
    Join Date
    Nov 2004
    Posts
    6
    I had the exact same question and I wish Microsoft would incorporate this feature into future versions.

    The transparent icon idea sounds like a superb workaround, but I do not know how to create such an icon. Does anyone have one they've created that they'd like to share? If so, please post a link or you can e-mail it to me at extra2320@bellsouth.net. Thanks!

  4. #4
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    If you have downloaded and installed the demo version of Pushpin Tool there is a blank or transparent icon (hide.bmp) in the directory that you installed the demo in. Pushpin Tool will hide/unhide datasets and uses that icon when hiding...

    Here is a link to the download page:
    http://www.mp2kmag.com/downloads/pushpin.tool

  5. #5
    Fer
    Fer is offline Junior Member White Belt
    Join Date
    Jun 2003
    Posts
    11
    I have an icon file which is completely blank, that you can use for the purposes of your question. Unfortunately, I don't have a way to post a link to it, and it would be great if other people could just go ahead and download it in future occasions. I do know that it is not that hard to create one, using a tool such as Microangelo, or even if you have VS .Net 2002 or 2003 you can go ahead and create and icon file and in the colors pallette you'll notice that there is a color that represents transparency, so you can fill the entire area of your icon with this "color" and then save your brand new transparent icon.


    Fernando

  6. #6
    dynek is offline Junior Member Yellow Belt
    Join Date
    Jan 2005
    Posts
    15
    How do I assign hide.bmp to a dataset ?
    I tried by giving .symbol = the path to the file + the filename but it doesn't work.

    Thanks

  7. #7
    Fer
    Fer is offline Junior Member White Belt
    Join Date
    Jun 2003
    Posts
    11

    Assign a blank bmp icon

    dynek:

    What you need to do is the following:

    Code:
    Dim mySymbol as MapPoint.Symbol
    mySymbol = mapMain.ActiveMap.Symbols.Add&#40;<complete filepath>&#41;
    mapMain.ActiveMap.DataSets&#40;"MyDataset"&#41;.Symbol = mySymbol.ID

    Of course you could also assign this to an individual pushpin or to an entire dataset. Also remember that the ID property of the symbol object is just an integer which is assigned by MP based on how many other custom symbols you've loaded up.

    HTH,

    Fernando

  8. #8
    dynek is offline Junior Member Yellow Belt
    Join Date
    Jan 2005
    Posts
    15
    Perfect !

    I was using the internal number of mappoint for this but it's way better with the file. That way I don't have to import hide.bmp on each machine!

    Thanks

  9. #9
    tblazer is offline Junior Member White Belt
    Join Date
    Dec 2004
    Posts
    2
    You can go into your legend and instead of using a transparent pushpin, just don't disply that item. For instance, I had a file with retail stores (Food Stores & Drug Stores). To not show Drug, I only selected "1" as the number of pushpin types to display in the pushpin dialog box. This turns off one of the pushpins. If it is not turning off the pushpin you want, just type the name of the desired pushpin in the field name box. So for instance, if it was displying Drug but I wanted to display Food I would just type over the work Drug with the word Food in the dialog box.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Hiding city names
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 03-16-2005, 02:00 PM
  2. Hiding population places? Is this possible
    By denise575 in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 12-13-2004, 10:22 AM
  3. hiding drive time box
    By chaching in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 08-30-2004, 03:45 PM
  4. Hiding MP menu under Delphi
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-27-2003, 06:46 AM
  5. Using VB, is there any way if hiding a set of push....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-27-2002, 09:10 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