Open Aliber009 opened 3 years ago
I have implemented, circlet modes into my mapboxDraw, and I have created a button to call the circle Draw function , but I dont know how to that , what function should I put when "onClick()" any help please
Make sure that you:
map.addControl(draw)
createCircle()
draw.changeMode('draw_circle', { initialRadiusInKm: 0.5 });
}
I have implemented, circlet modes into my mapboxDraw, and I have created a button to call the circle Draw function , but I dont know how to that , what function should I put when "onClick()" any help please