# Draw selectable polygon

**URL:** <https://community.plotly.com/t/draw-selectable-polygon/60104>\
**Category:** Dash Python\
**Created:** [January 15, 2022, 8:37am UTC](https://community.plotly.com/t/draw-selectable-polygon/60104 "2022-01-15T08:37:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![liuxingfeiye](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@liuxingfeiye](https://community.plotly.com/u/liuxingfeiye)\
**Post date:** [January 15, 2022, 8:37am UTC](https://community.plotly.com/t/draw-selectable-polygon/60104/1 "2022-01-15T08:37:18Z")

</div>

is there a way to show polygons in map, and i can select one, the clicked one will be captured to send to backend with info (name for example)  
there’s one way till now i know is to Scattermapbox and fill=‘toself’, but if have 2000 polygons, creating 2000 trace will be very very slow. if create by lon=list with None as gap, still i cannot select the polygon info (only points), also looks like points not like real polygon  
seems dash-leaflet is OK to draw polygon but not convenient with toolstrip
