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

How to tell if an objects location is visible?

This is a discussion on How to tell if an objects location is visible? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, Does anyone know of a way to tell if an objects location is in the visible area of the ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    How to tell if an objects location is visible?

    Hi,

    Does anyone know of a way to tell if an objects location is in the visible area of the map?

    I can find the location of a PushPin so:-

    Set objPin = objMap.FindPushpin(strPinName)
    Set objLoc = objPin.Location

    Now I want to know if that location is visible.

    Thanks,

    Chris

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    I don't think there is anything that does this, maybe if you just store wherever your map is centered on as a pushpin location and then do use the QueryCircle with the something like half the Altitude as your radius

    That would probably get you close, far from perfect though.

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    This link tells you how to check the radius and altitude values against what is actually on screen, might help out some

    http://support.microsoft.com/?kbid=297348

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. having the driver always be visible
    By BobFromBoston in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 07-31-2005, 01:51 PM
  2. limiting objects in collection
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 04-27-2004, 08:52 AM
  3. ensure pushpin is visible
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-13-2003, 11:23 AM
  4. specify label to all the objects of a layer
    By Anonymous in forum Wish List
    Replies: 0
    Last Post: 08-28-2002, 08:22 AM
  5. Mappoint2002 vs. ESRI Map Objects
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-07-2002, 09:15 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