Closed hoangdangcodecomplete closed 2 years ago
Hi, I'm currently making an app and using geoman I feel it's great. Now what I'm doing is customizing the external buttons and calling actions inside the map like drawing shapes, deleting, and editing each shape. Can you guide me to do it?
Thank you
You need to enable drawing after clicking on a button: map.pm.enableDraw('Text'), map.pm.enableDraw('Line'), map.pm.enableDraw('Polygon')
map.pm.enableDraw('Text')
map.pm.enableDraw('Line')
map.pm.enableDraw('Polygon')
Hi, I'm currently making an app and using geoman I feel it's great. Now what I'm doing is customizing the external buttons and calling actions inside the map like drawing shapes, deleting, and editing each shape. Can you guide me to do it?
Thank you