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

Very important request : How to know pushpins into a area ?

This is a discussion on Very important request : How to know pushpins into a area ? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hello, I post another time this request but it's very important for me (and for my customer ). I've got ...

  1. #1
    Vincent BENNER's Avatar
    Vincent BENNER is offline Member Yellow Belt
    Join Date
    Sep 2002
    Posts
    44

    Very important request : How to know pushpins into a area ?

    Hello,

    I post another time this request but it's very important for
    me (and for my customer ).

    I've got a map, a VB6 application and a database.

    I add pushpins on the map (in a city).

    I'd like to make an "area selection tool" to know the
    pushpins into the area !

    1/ Is this possible to know which pushpins are into
    the basic selection tool - ie the area traced when you
    want to make a zoom ???

    2/ If no, is this possible to create a SHAPE by
    by clicking on the map, hold the button, move the
    mouse and keyup the button at the opposinte corner
    of the shape ???

    Thank you very much for your help !

    Regards,

    Vincent BENNER

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Yes, I think that´s possible.

    After adding a shape to the map you can use Dataset.QueryShape to find all the pushpins of this dataset that are within the shape.

    Greetings, Jack.

  3. #3
    Vincent BENNER's Avatar
    Vincent BENNER is offline Member Yellow Belt
    Join Date
    Sep 2002
    Posts
    44

    Yes... but

    Hello,

    Yes it works but I don't know how to provocate the
    "SELECT TOOL SHAPE" event, like if you click on
    the Shape button of the toolbar !!!! It's the most
    important !

    Regards,

    Vincent BENNER

  4. #4
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    I was thinking this way. You let the user draw a shape using the shape drawing tool, and then after for instance a button click you perform the queryshape. The latest added shape is first (or last) in the order of shapes, so you´ll know which shape to query.

    Greetings, Jack.

  5. #5
    EFeams01 is offline Junior Member White Belt
    Join Date
    Jun 2007
    Posts
    5

    Re: Very important request : How to know pushpins into a area ?

    I have done it that way before...works just great. Good advice. I have also exported the file with all layers to a .MIF file which you can open in MapInfo, and then save the layers as their own tables if needed. MapInfo has a great boundary select tool that lets you define the area yourself by just draggin and clicking a line.
    Evan

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. http request error 401: unauthorized
    By okanss in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-09-2005, 03:52 PM
  2. new feature request
    By jhblack76 in forum Wish List
    Replies: 0
    Last Post: 10-27-2004, 09:23 AM
  3. request discussion push pin demo problem
    By ToddF in forum Products: Pushpin Tool, Single State Mapper
    Replies: 0
    Last Post: 04-26-2004, 11:01 AM
  4. How to get the 4 map area coordinates ?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-22-2004, 02:44 PM
  5. Very important : may be a tip ?
    By Vincent BENNER in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 08-19-2003, 11:10 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