From ce3400313dfda21f7f0c9b42e1213b89c62c3238 Mon Sep 17 00:00:00 2001 From: Jin Igarashi Date: Sun, 2 Feb 2025 21:04:38 +0900 Subject: [PATCH] docs: upgrade maplibre-gl-terradraw to v1.0.1 --- test/examples/maplibre-gl-terradraw.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/examples/maplibre-gl-terradraw.html b/test/examples/maplibre-gl-terradraw.html index eeb0ca97fa..2eb044ac2a 100644 --- a/test/examples/maplibre-gl-terradraw.html +++ b/test/examples/maplibre-gl-terradraw.html @@ -14,10 +14,10 @@ - +
@@ -34,7 +34,7 @@ // you can disable some of modes in the constructor options if you want. const draw = new MaplibreTerradrawControl.MaplibreTerradrawControl({ modes: [ - 'render', + // 'render', comment this to always show drawing tool 'point', 'linestring', 'polygon', @@ -46,11 +46,12 @@ 'sector', 'select', 'delete-selection', - 'delete' + 'delete', + 'download' ], open: true, }); - map.addControl(draw, 'top-right'); + map.addControl(draw, 'top-left');