MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Clear FindNearby from Map

This is a discussion on Clear FindNearby from Map within the MapPoint 2006/2009 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 ...


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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-10-2007
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.
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 01-11-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
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.
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 01-11-2007
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 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 01-12-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 01-15-2007
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);
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
clear, findnearby, map


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/clear-findnearby-map-5577.html

Posted By For Type Date
Minnesota Map and Map of Minnesota - MapPoint State Map Gallery - MP2K Magazine This thread Refback 01-17-2007 05:44 PM

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
Clear/Remove all Pushpins in Mappoint? i3bex MapPoint 2006/2009 Discussion 4 10-12-2005 02:29 PM
Clear previous itinerary Anonymous MapPoint 2006/2009 Discussion 4 11-03-2004 10:36 AM
How to clear unwanted area in map amrok MapPoint 2006/2009 Discussion 1 03-08-2004 07:41 AM
Clear Push Pin joshnfay MapPoint 2006/2009 Discussion 1 04-26-2003 10:07 PM
How to clear out the drop down list of Type Place or addres dzhong MapPoint 2006/2009 Discussion 2 12-23-2002 02:28 PM


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