This project is read-only.

Selecting objects on map

Feb 23, 2013 at 1:12 AM

I am creating a small piece of software in visual basic 2012 that is able to display a long list of objects from a database on a mapwingis map. I have, however, come to a point where I need help and hope that some one here is able to provide that help :) My problem is as follows:
All the object from the database has been created as points and added a drawingkey. My question is, how can I select an object on the map and as a result get the drawingkey? I have been searching the web for an answer for quite some time now but can't find one. I hope someone here will be able to help!

Kind regards,
Feb 28, 2013 at 11:34 PM
Have you looked in the samples and documentation?

Mar 4, 2013 at 3:27 PM
What you need to do is create a temporarily point shapefile, add your objects to it and give each point one ore more attributes (fields).
Using SelectShapes you can select the shapes and read back the attributes.
Here are some relevant topics: