OptionaladapterTerraDrawMaplibreGLAdapter options. Please refer the default adapter settings (BaseAdapterConfig) at the below TerraDraw code. https://github.com/JamesLMilner/terra-draw/blob/806e319d5680a3f69edeff7dd629da3f1b4ff9bf/src/adapters/common/base.adapter.ts#L28-L48
OptionaldistanceMaplibre symbol layer specification for distance isochrone label layer. The label features are fed from the Terra Draw store (isochrone polygons).
OptionalmodeOverwrite Terra Draw mode options if you specified.
OptionalmodesTerradraw 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','point','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.
OptionalopenOpen editor as default if true. Default is false
OptionalroutingMaplibre symbol layer specification (on line nodes) for routing node label layer. The label features are fed from the Terra Draw store (routing node points).
OptionalshowShow delete confirmation popup when deleting features if true. Default is false
OptionaltimeMaplibre symbol layer specification for time isochrone label layer. The label features are fed from the Terra Draw store (isochrone polygons).
ValhallaControl Plugin control constructor options