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

Does an object reside in my Shape or Shape boundaries?

This is a discussion on Does an object reside in my Shape or Shape boundaries? within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have code that has creates my custom shapes on the map. NOW I want to be able to draw ...

  1. #1
    hotrdd is offline Junior Member White Belt
    Join Date
    Jun 2005
    Posts
    6

    Does an object reside in my Shape or Shape boundaries?

    I have code that has creates my custom shapes on the map. NOW I want to be able to draw a "selection" square and determine which pins reside within this area. Is there an easy way to do this or do I need to check the coordinates of all the shapes to see if they reside within the square?

    Is it possible to get the boundary of the selected shape and then see if a pin resides in that boundary?

  2. #2
    calv1ns's Avatar
    calv1ns is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    91

    QueryShape Method

    Hey hotrdd

    I think if you are just dealing with shapes then the QueryShape method will create a recordset that contains all the DataSets records that are within that shape. You have to loop through these trying to determine what they are.

    Hope this helps.
    Ciao,
    Calv1ns

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Shape coordinates
    By MarkStanley in forum MapPoint Desktop Discussion
    Replies: 13
    Last Post: 03-04-2007, 04:57 AM
  2. Territory as shape
    By renatoa in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-29-2006, 12:18 PM
  3. Shape visibility
    By Map57 in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 12-21-2004, 05:55 AM
  4. Route to Shape
    By Anonymous in forum Wish List
    Replies: 0
    Last Post: 08-25-2004, 11:59 AM
  5. route to shape
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-09-2004, 08:48 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