Skip to content

Commit

Permalink
Merge branch 'main' into default-CS-Projection
Browse files Browse the repository at this point in the history
  • Loading branch information
AliyanH authored Jul 19, 2023
2 parents b8b529e + 0b85ad5 commit 05b6d68
Show file tree
Hide file tree
Showing 22 changed files with 502 additions and 123 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: sudo apt-get install xvfb
Expand Down
88 changes: 67 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"jest-circus": "^26.6.3",
"jest-environment-node": "^26.6.1",
"jest-playwright-preset": "^1.7.0",
"leaflet": "^1.9.3",
"leaflet": "^1.9.4",
"leaflet.locatecontrol": "^0.79.0",
"path": "^0.12.7",
"@playwright/test": "^1.24.2",
Expand Down
6 changes: 1 addition & 5 deletions src/layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,7 @@ export class MapLayer extends HTMLElement {
attributeChangedCallback(name, oldValue, newValue) {
switch (name) {
case 'label':
if (oldValue !== newValue) {
this.dispatchEvent(
new CustomEvent('labelchanged', { detail: { target: this } })
);
}
this?._layer?.setName(newValue);
break;
case 'checked':
if (this._layer) {
Expand Down
Loading

0 comments on commit 05b6d68

Please sign in to comment.