Skip to content

Commit 6372df0

Browse files
committed
bug #2113 [Map][Leaflet] Rename leaflet to L in event's payloads (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- [Map][Leaflet] Rename `leaflet` to `L` in event's payloads | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #2111 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT Commits ------- ffce804 [Map][Leaflet] Rename `leaflet` to `L` in event's payloads
2 parents b122538 + ffce804 commit 6372df0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Map/src/Bridge/Leaflet/assets/dist/map_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class map_controller extends AbstractMapController {
1818
prefix: 'ux:map',
1919
detail: {
2020
...payload,
21-
leaflet: L,
21+
L,
2222
},
2323
});
2424
}

src/Map/src/Bridge/Leaflet/assets/src/map_controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class extends AbstractMapController<
3333
prefix: 'ux:map',
3434
detail: {
3535
...payload,
36-
leaflet: L,
36+
L,
3737
},
3838
});
3939
}

0 commit comments

Comments
 (0)