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
OptionaldistanceMaplibre line layer specification for distance isochrone line layer
OptionaldistanceMaplibre fill layer specification for distance isochrone polygon layer
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 line distance layer
OptionalroutingMaplibre circle layer specification for visualizing node style of line distance layer
OptionalshowShow delete confirmation popup when deleting features if true. Default is false
OptionaltimeMaplibre symbol layer specification for time isochrone label layer
OptionaltimeMaplibre line layer specification for time isochrone line layer
OptionaltimeMaplibre fill layer specification for time isochrone polygon layer
OptionalvalhallaValhalla options for the control.
ValhallaControl Plugin control constructor options