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

Clear FindNearby from Map

This is a discussion on Clear FindNearby from Map within the MapPoint Desktop Discussion forums, part of the Map Forums category; The FindNearby() method draws a circle on the map. But is there a way to remove the circle when you're ...

  1. #1
    Kevin_Williams is offline Junior Member Yellow Belt
    Join Date
    Nov 2006
    Posts
    20

    Clear FindNearby from Map

    The FindNearby() method draws a circle on the map.
    But is there a way to remove the circle when you're done?

    I'm trying to make it act like "Find Nearby Places"
    When you call "Find Nearby Places", it draws the circle
    And when you close the panel, the circle is removed.

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Clear FindNearby from Map

    Hi Kevin,

    you can make it very small doing a new findnearby, then zoom again to the original alt. you can also do a new findnearby (with very small distance) somewhere in the middle of the ocean. then again zoom and pan to original position. On some system map will possible flikker for a moment.

  3. #3
    Kevin_Williams is offline Junior Member Yellow Belt
    Join Date
    Nov 2006
    Posts
    20

    Re: Clear FindNearby from Map

    thanks Wilfried

    below is what i did

    Code:
    // work around code to remove the FindNearby circle
    MapPoint.Location tempLocation = objMap.GetLocation(80, 0, 0);  // get location over the arctic ocean
    tempLocation.FindNearby(0.1);
    objMap.GoBack();  // go back to previous position

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Clear FindNearby from Map

    Hi Kevin,

    thanks for feedback. I think you can speed up to have the radius as small as possible. I think it is 0.01.

  5. #5
    Kevin_Williams is offline Junior Member Yellow Belt
    Join Date
    Nov 2006
    Posts
    20

    Re: Clear FindNearby from Map

    when i try 0.01, i get a "ArgumentException was unhandled" error (i'm using MapPoint 2006)

    double radius = 0.01;
    tempLocation.FindNearby(radius);

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Clear/Remove all Pushpins in Mappoint?
    By i3bex in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 10-12-2005, 02:29 PM
  2. Clear previous itinerary
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 11-03-2004, 10:36 AM
  3. How to clear unwanted area in map
    By amrok in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-08-2004, 07:41 AM
  4. Clear Push Pin
    By joshnfay in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-26-2003, 10:07 PM
  5. How to clear out the drop down list of Type Place or addres
    By dzhong in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 12-23-2002, 02:28 PM

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