Closed github-actions[bot] closed 1 month ago
Name | Link |
---|---|
Latest commit | c06122a59485d33e629946978ebe625effdcb8e3 |
Latest deploy log | https://app.netlify.com/sites/maplibre-gl-terradraw/deploys/66dcc911492a630008ec6872 |
Deploy Preview | https://deploy-preview-19--maplibre-gl-terradraw.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@watergis/maplibre-gl-terradraw@0.1.0
Minor Changes
4d9a435: feat: allows to overwrite default Terra Draw mode instances by using the second argument of constructor.
For example, if you only want to use polygon control, and you want to disable draggable option and node insertion/deletion on an edge of a polygon, the setting can be as follows.
4d9a435: feat: allows to change the order of Terra Draw modes on the plugin.
Now, an array of modes can be passed to the constructor of the plugin, and the mode controls will be added exactly the same order. You can also remove unnecessary modes from the array when you initialize the plugin.
For instance, you can only add point and select control on the plugin like the below code.