# Select single Shape when click on map

**URL:** <https://mapwindow.discourse.group/t/select-single-shape-when-click-on-map/1865>\
**Category:** MapWinGIS\
**Created:** [September 17, 2025, 4:06pm UTC](https://mapwindow.discourse.group/t/select-single-shape-when-click-on-map/1865 "2025-09-17T16:06:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![murathankocan](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@murathankocan](https://mapwindow.discourse.group/u/murathankocan)\
**Post date:** [September 17, 2025, 4:06pm UTC](https://mapwindow.discourse.group/t/select-single-shape-when-click-on-map/1865/1 "2025-09-17T16:06:48Z")

</div>

I placed 10,000 points on the Map object. There is no problem with that, and I can also perform rectangle selection. However, when I zoom out, the number of visible points decreases.

My first question is:

- Is there some kind of clustering happening automatically?

Also, while in `cmSelection` mode, I noticed that when I click on a point with the mouse, it gets selected. My question about this is:

- Which event can I use to get the selected point (or points) on a single mouse click, since there seems to be no `Click` event?

Thank you very much in advance.

---

<div class="post-metadata">

**Author:** ![Marc](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@Marc](https://mapwindow.discourse.group/u/Marc)\
**Post date:** [September 20, 2025, 10:28pm UTC](https://mapwindow.discourse.group/t/select-single-shape-when-click-on-map/1865/2 "2025-09-20T22:28:58Z")

</div>

On your second question, I have not done it but think that you need to initialise the mouse actions using the objMapMain.SendMouseUp = True

then set the cursor:

MapMain.MapCursor = crsrMapDefault  
MapMain.CursorMode = tkCursorMode.cmIdentify

then create code in the code window for the map object event called ShapeIdentified where it gives you the shape number and layer handle.
