diff --git a/test/examples/mapbox-gl-draw.html b/test/examples/mapbox-gl-draw.html index 9d0b0fa813..194bb88075 100644 --- a/test/examples/mapbox-gl-draw.html +++ b/test/examples/mapbox-gl-draw.html @@ -1,8 +1,8 @@ - Draw polygon with maplibre-gl-draw - + Draw polygon with mapbox-gl-draw + @@ -31,10 +31,10 @@ font-size: 13px; } - +
@@ -47,9 +47,11 @@ import * as turf from 'https://esm.sh/@turf/turf@7.1.0'; + MapboxDraw.constants.classes.CANVAS = 'maplibregl-canvas'; MapboxDraw.constants.classes.CONTROL_BASE = 'maplibregl-ctrl'; MapboxDraw.constants.classes.CONTROL_PREFIX = 'maplibregl-ctrl-'; MapboxDraw.constants.classes.CONTROL_GROUP = 'maplibregl-ctrl-group'; + MapboxDraw.constants.classes.ATTRIBUTION = 'maplibregl-ctrl-attrib'; const map = new maplibregl.Map({ container: 'map', // container id