Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
8c3fce8
Refactor for LEaflet V2
Falke-Design May 20, 2025
a0075a0
Fix css classlist
Falke-Design May 20, 2025
3c4c495
update pointer events & Utils
Falke-Design Aug 17, 2025
40fa834
Update imports
Falke-Design Aug 17, 2025
6a2c1ea
fix typo
Falke-Design Oct 31, 2025
ad01d9b
Add helpers to Geoman object
Falke-Design Oct 31, 2025
912199a
update cypress tests
Falke-Design Oct 31, 2025
f7f2e2b
update tests
Falke-Design Oct 31, 2025
63714ea
Update demo
Falke-Design Nov 1, 2025
41365c1
Merge remote-tracking branch 'geoman/develop' into leaflet-v2
Falke-Design Nov 1, 2025
df36e22
Reformat files
Falke-Design Nov 1, 2025
8b12367
update ecmaVersion to latest
Falke-Design Nov 1, 2025
62d2bae
Change classes to ESM classes
Falke-Design Nov 1, 2025
6d390a0
Change export of classes
Falke-Design Nov 1, 2025
3cc174a
add cypress/unsafe-to-chain-command to eslint
Falke-Design Nov 1, 2025
b247893
Replace mouse events with pointer events
Falke-Design Nov 1, 2025
8784bfc
Remove Canvas 1.7.1 polyfill
Falke-Design Nov 1, 2025
6299a17
Remove polyfills
Falke-Design Nov 1, 2025
a66578f
Remove "marker" property from pm:create event
Falke-Design Nov 2, 2025
608a7fb
Remove deprecated "Poly" shape alias
Falke-Design Nov 2, 2025
845ef3b
Fix usage of removed "finishOnDoubleClick" option
Falke-Design Nov 2, 2025
16c9a5e
Remove deprecated "editPolygon" & "deleteLayer" control aliases
Falke-Design Nov 2, 2025
19039a2
Eslint cypress/
Falke-Design Nov 2, 2025
8df2aaa
Replace "Line" with "Polyline"
Falke-Design Nov 2, 2025
3d9ada2
Remove default shape argument in enable-/disableDraw
Falke-Design Nov 2, 2025
397124b
Remove deprecated "editable" option
Falke-Design Nov 2, 2025
9c9d71d
Replace markerdrag with vertexdrag events
Falke-Design Nov 2, 2025
83d10fb
Remove depracted methods globalEditEnabled & globalRemovalEnabled
Falke-Design Nov 2, 2025
f2effdd
Add leaflet-geoman prefix to css classes
Falke-Design Nov 2, 2025
7b3605e
Rename PMButton to GeomanControl
Falke-Design Nov 2, 2025
a112855
Remove event argument from Control onClick & afterClick
Falke-Design Nov 2, 2025
d103218
Rename "PM" to "Geoman"
Falke-Design Nov 2, 2025
ba6dc17
Add to private methods "_" prefix
Falke-Design Nov 2, 2025
b61b1f3
Remove default options of enable method
Falke-Design Nov 2, 2025
27ebea2
Replace "snappable" with "allowSnapping"
Falke-Design Nov 2, 2025
c6e8ed4
Replace "draggable" with "allowDragging"
Falke-Design Nov 2, 2025
80c6c1f
Remove auto continueDrawing for Marker & CircleMarker
Falke-Design Nov 2, 2025
b257cf6
Make removeLastVertex public
Falke-Design Nov 2, 2025
68ce5f8
Replace this.map with this._map
Falke-Design Nov 2, 2025
0f99346
Draw.Rectangle now uses templineStyle instead of pathOptions while dr…
Falke-Design Nov 2, 2025
812873b
Fix allowDragging bug
Falke-Design Nov 2, 2025
661516a
Fix failed tests
Falke-Design Nov 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ body:
id: geoman-version
attributes:
label: Geoman version
description: You can get the Geoman version via `L.PM.version`
description: You can get the Geoman version via `Geoman.version`
validations:
required: true

Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
4 changes: 3 additions & 1 deletion bundle.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const plugins = [{

const buildOptions = {
bundle: true,
entryPoints: ['./src/js/L.PM.js'],
entryPoints: ['./src/js/Geoman.js'],
loader: {
'.js': 'jsx',
'.css': 'css',
Expand All @@ -26,6 +26,8 @@ const buildOptions = {
minify: true,
outfile: './dist/leaflet-geoman.js',
sourcemap: true,
format: 'esm',
external: ['leaflet'],
}

const ctx = await esbuild.context({ ...buildOptions, plugins });
Expand Down
Loading
Loading