import { CircleMode, DragCircleMode, DirectMode, SimpleSelectMode } from 'maplibre-gl-draw-circle'; // userProperties has to be enabled const draw = new MapboxDraw({ defaultMode: "draw_circle", userProperties: true, modes: { ...MapboxDraw.modes, draw_circle : CircleMode, drag_circle ...
Supports drawing/editing a circle on a Mapbox map. - maplibre-gl-draw-circle/package.json at main · aws-amplify/maplibre-gl-draw-circle
これまでMapboxとMaplibreでラインやポリゴンを描画したいと思った時には、mapbox-gl-drawを使うのが一般的でしたが、Mapboxがオープンソースからプロプライエタリになったのをきっかけにプラグイン自体があまりメンテされなくなり、かなり使いづらくなってきました。
Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} aws-amplify / maplibre-gl-draw-circle Public Notifications You must be signed in to change notification settings Fork 2 Star 14 ...
Actions: aws-amplify/maplibre-gl-draw-circleActions All workflows publish CodeQL Disabled Management Caches Attestations All workflows Showing runs from all workflows 51 workflow runs Event Status Branch Actor CodeQL CodeQL #51: Scheduled main August 22, 2024 17:01 1m 17s CodeQL ...
Issues: aws-amplify/maplibre-gl-draw-circleLabels 9 Milestones 0 New issue 3 Open 1 Closed Author Label Projects Milestones Assignee Sort Issues listQuestion: why Constants.types.POLYGON is used when calling activateUIButton? question #16 opened Jun 28, 2023 by ericxinzhang Error {message: ...
const doubleClickZoom = require('@mapbox/mapbox-gl-draw/src/lib/double_click_zoom'); const circle = require('@turf/circle').default; const CircleMode = MapboxDraw.modes.draw_polygon; const CircleMode = {...MapboxDraw.modes.draw_polygon}; const DEFAULT_RADIUS_IN_KM = 2; CircleMode.o...
aws-amplify/maplibre-gl-draw-circlePublic NotificationsYou must be signed in to change notification settings Fork2 Star14 Open Description dvmai11 Activity Sign up for freeto join this conversation on GitHub.Already have an account?Sign in to comment...
import { CircleMode, DragCircleMode, DirectMode, SimpleSelectMode } from 'maplibre-gl-draw-circle'; // userProperties has to be enabled const draw = new MapboxDraw({ defaultMode: "draw_circle", userProperties: true, modes: { ...MapboxDraw.modes, draw_circle : CircleMode, drag_circle ...
maplibre-gl-draw-circle package-lock.json onmain User selector All users DatepickerAll time Commit History Commits on Sep 4, 2024 fix(dependabot): update micromatch, remove yarn.lock (#21) thaddmtauthoredSep 5, 2024 Verified 6169c3c Commits on Jun 20, 2024 chore(deps-dev): bump brace...