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

How to handle FindNearby results in C++

This is a discussion on How to handle FindNearby results in C++ within the MapPoint Desktop Discussion forums, part of the Map Forums category; Is there a way using C++ to return the results of FindNEarby (or any collection for that matter). I think ...

  1. #1
    andywolpert is offline Junior Member White Belt
    Join Date
    Sep 2005
    Posts
    1

    How to handle FindNearby results in C++

    Is there a way using C++ to return the results of FindNEarby (or any collection for that matter). I think the elements are getting released when they go out of scope.

    What I really want to do is create a list of nearby but then take elements out of the list based on other criteria.

    The cleanest way would seem to have a list to pass into various filtering routines.

    Anybody know how to do this?

    Thanks

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    I think you'll have problems removing objects from the returned collection.

    I would loop through the collection, extracting the data that is required. Filtering there & then, and or storing it in your own struct/class. A collection of these struct/classes can then be passed to each filter.


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. C# FindNearby
    By MD2000 in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 06-12-2005, 05:11 PM
  2. Getting the Handle of the MapPoint Control...
    By joer1234 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-30-2004, 12:35 PM
  3. Can 2004 handle territories like this?
    By mmaslar in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-23-2004, 06:43 PM
  4. Help with FindNearby
    By BobIDEAS in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-30-2003, 11:17 PM
  5. Is it possible to get a direct HANDLE to the Map? ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-19-2002, 10:05 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