Optional
lineMaplibre symbol layer specification (on line nodes) for line distance layer
Optional
lineMaplibre circle layer specification for visualizing node style of line distance layer
Optional
modeOverwrite Terra Draw mode options if you specified.
Optional
modesTerradraw modes added to the control. The mode will be added in the same order of the array. Default is all modes in the below order: ['render','linestring','polygon', 'rectangle','angled-rectangle','circle', 'freehand','sector','sensor', 'delete']
You can change the order of modes, or can get rid of some modes which you don't need for your app.
Optional
openOpen editor as default if true. Default is false
Optional
polygonMaplibre symbol layer specification (centroid) for polygon area layer
MeasureControl Plugin control constructor options