Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
c7c4711
Merge pull request #441 from xdev-software/master
AB-xdev Sep 3, 2024
af36cff
Update config.yml
AB-xdev Sep 5, 2024
2bcb4a6
Update dependency org.apache.maven.plugins:maven-gpg-plugin to v3.2.6
xdev-renovate Sep 15, 2024
eff887a
Merge pull request #98 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Sep 19, 2024
2f10b25
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Sep 20, 2024
b19e86c
Update org.springframework.boot.version to v3.3.4
xdev-renovate Sep 20, 2024
8decad5
Update vaadin.version to v24.4.12
xdev-renovate Sep 20, 2024
009f476
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Sep 23, 2024
f44b0ae
Merge pull request #232 from xdev-software/renovate/vaadin.version
AB-xdev Sep 23, 2024
49d3baa
Merge pull request #234 from xdev-software/renovate/org.springframewo…
AB-xdev Sep 23, 2024
40303d4
Update dependency com.mycila:license-maven-plugin to v4.6
xdev-renovate Sep 26, 2024
8903c1e
Update dependency com.mycila:license-maven-plugin to v4.6
xdev-renovate Sep 26, 2024
697242e
Update dependency com.fasterxml.jackson.core:jackson-databind to v2.18.0
xdev-renovate Sep 27, 2024
0bcf27f
Merge pull request #235 from xdev-software/renovate/com.mycila-licens…
AB-xdev Sep 27, 2024
f8289ae
Merge pull request #99 from xdev-software/renovate/com.mycila-license…
AB-xdev Sep 27, 2024
e8c1748
We don't use hilla -> We don't need hilla
AB-xdev Sep 27, 2024
6c025bc
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Sep 27, 2024
7bab8e9
Merge pull request #449 from xdev-software/renovate/com.fasterxml.jac…
AB-xdev Sep 27, 2024
52afc82
Update net.sourceforge.pmd to v7.6.0
xdev-renovate Sep 27, 2024
0443fe6
Merge pull request #100 from xdev-software/renovate/net.sourceforge.pmd
AB-xdev Sep 27, 2024
b60940b
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Sep 27, 2024
c0330dd
Update dependency org.apache.maven.plugins:maven-gpg-plugin to v3.2.7
xdev-renovate Sep 28, 2024
40edee3
Update dependency com.puppycrawl.tools:checkstyle to v10.18.2
xdev-renovate Sep 30, 2024
dd5d659
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Sep 30, 2024
2ce9319
Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3…
xdev-renovate Oct 2, 2024
6901c1d
Update vaadin.version to v24.4.13
xdev-renovate Oct 2, 2024
c6780b5
Merge pull request #103 from xdev-software/renovate/org.apache.maven.…
AB-xdev Oct 7, 2024
f4b4a6d
Merge pull request #102 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Oct 7, 2024
27ec7ab
Merge pull request #101 from xdev-software/renovate/org.apache.maven.…
AB-xdev Oct 7, 2024
93dc3f2
Merge pull request #241 from xdev-software/renovate/vaadin.version
AB-xdev Oct 7, 2024
28b9344
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 7, 2024
1967712
Update lycheeverse/lychee-action action to v2
xdev-renovate Oct 9, 2024
0e0b2ff
Merge pull request #9 from xdev-software/renovate/lycheeverse-lychee-…
AB-xdev Oct 9, 2024
743c5c6
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 9, 2024
527b0ff
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 10, 2024
1457076
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Oct 14, 2024
029bf2f
Don't fail on broken links
AB-xdev Oct 21, 2024
d8499f5
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 22, 2024
9ad20ee
Update dependency org.apache.maven.plugins:maven-project-info-reports…
xdev-renovate Oct 22, 2024
bc39df7
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 22, 2024
04e7b76
Merge pull request #107 from xdev-software/renovate/org.apache.maven.…
AB-xdev Oct 23, 2024
e6fa4c0
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 24, 2024
009f795
Initial commit
AB-xdev Oct 24, 2024
efcd43e
Init
AB-xdev Oct 24, 2024
eeb917d
Merge remote-tracking branch 'origin/update-from-template'
AB-xdev Oct 24, 2024
b8de24f
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 24, 2024
ef28653
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 25, 2024
473ce31
Update dependency org.apache.maven.plugins:maven-checkstyle-plugin to…
xdev-renovate Oct 26, 2024
f2c6db4
Update dependency org.apache.maven.plugins:maven-jxr-plugin to v3.6.0
xdev-renovate Oct 26, 2024
216f465
Update net.sourceforge.pmd to v7.7.0
xdev-renovate Oct 26, 2024
f798625
Update dependency com.puppycrawl.tools:checkstyle to v10.19.0
xdev-renovate Oct 27, 2024
d9399fb
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Oct 28, 2024
5f47092
Merge pull request #111 from xdev-software/renovate/net.sourceforge.pmd
AB-xdev Oct 28, 2024
07efa5e
Merge pull request #112 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Oct 28, 2024
5bcfa6a
Merge pull request #110 from xdev-software/renovate/org.apache.maven.…
AB-xdev Oct 28, 2024
186b89e
Merge pull request #109 from xdev-software/renovate/org.apache.maven.…
AB-xdev Oct 28, 2024
d13b2de
Changes for PMD 7.7
AB-xdev Oct 28, 2024
10cbd0d
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 28, 2024
526dc31
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 28, 2024
dd9017d
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 29, 2024
a2d6ebc
Update dependency org.apache.maven.plugins:maven-pmd-plugin to v3.26.0
xdev-renovate Oct 29, 2024
572b34a
Update org.springframework.boot.version to v3.3.5
xdev-renovate Oct 29, 2024
b91f8d8
Update vaadin.version to v24.5.2
xdev-renovate Oct 29, 2024
9e9f2a9
Tighten timeouts
AB-xdev Oct 30, 2024
02fc7af
Tighten timeouts
AB-xdev Oct 30, 2024
6b559a9
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 30, 2024
f01dac4
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 30, 2024
9013244
Merge pull request #114 from xdev-software/renovate/org.apache.maven.…
AB-xdev Oct 30, 2024
d3072e9
Merge pull request #250 from xdev-software/renovate/org.springframewo…
AB-xdev Oct 30, 2024
268ffe1
Merge pull request #245 from xdev-software/renovate/vaadin.version
AB-xdev Oct 30, 2024
89a6b05
Update check-build.yml
AB-xdev Oct 30, 2024
1b39a9f
Merge branch 'master' of https://github.com/xdev-software/standard-ma…
AB-xdev Oct 30, 2024
9cbdd91
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Oct 31, 2024
71f1b1d
Update dependency com.puppycrawl.tools:checkstyle to v10.20.0
xdev-renovate Nov 1, 2024
d7b7b8a
Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3…
xdev-renovate Nov 3, 2024
2829b78
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Nov 4, 2024
1de2699
Merge pull request #116 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Nov 4, 2024
06e8428
Merge pull request #117 from xdev-software/renovate/org.apache.maven.…
AB-xdev Nov 4, 2024
081eeda
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Nov 5, 2024
2ba6ca1
Update vaadin.version to v24.5.3
xdev-renovate Nov 5, 2024
77c249b
Update dependency com.fasterxml.jackson.core:jackson-databind to v2.18.1
xdev-renovate Nov 5, 2024
38c0a4a
Merge pull request #263 from xdev-software/renovate/vaadin.version
AB-xdev Nov 5, 2024
1e0f947
Merge pull request #465 from xdev-software/renovate/com.fasterxml.jac…
AB-xdev Nov 5, 2024
df10f51
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Nov 5, 2024
39f6228
Change scope of vaadin-core to prevent conflicts
AB-xdev Nov 5, 2024
d7926e6
Update dependency com.puppycrawl.tools:checkstyle to v10.20.1
xdev-renovate Nov 8, 2024
2e77324
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Nov 11, 2024
8d16f5b
Update CheckStyle version
AB-xdev Nov 11, 2024
92e17bd
Revert "Change scope of vaadin-core to prevent conflicts"
AB-xdev Nov 11, 2024
19236b6
Merge pull request #118 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Nov 11, 2024
5b5dff1
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Nov 12, 2024
946e9b2
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Nov 12, 2024
46186d8
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Nov 12, 2024
0c403ee
Update vaadin.version to v24.5.4
xdev-renovate Nov 13, 2024
adfd739
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Nov 18, 2024
fe2a959
Merge pull request #265 from xdev-software/renovate/vaadin.version
AB-xdev Nov 18, 2024
d12ec22
Generate sources and javadoc during package and not verify
AB-xdev Nov 22, 2024
89337d0
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Nov 22, 2024
f77e826
Update org.springframework.boot.version to v3.4.0
xdev-renovate Nov 23, 2024
846b3aa
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Nov 25, 2024
976063d
Update vaadin.version to v24.5.6
xdev-renovate Nov 27, 2024
2ec98d3
Update net.sourceforge.pmd to v7.8.0
xdev-renovate Nov 30, 2024
6b853f1
Update dependency com.puppycrawl.tools:checkstyle to v10.20.2
xdev-renovate Dec 1, 2024
3c1b46c
Merge pull request #120 from xdev-software/renovate/net.sourceforge.pmd
AB-xdev Dec 2, 2024
143c769
Merge pull request #121 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Dec 2, 2024
bceace5
Merge pull request #267 from xdev-software/renovate/vaadin.version
AB-xdev Dec 2, 2024
22830b9
Merge pull request #268 from xdev-software/renovate/org.springframewo…
AB-xdev Dec 2, 2024
c861a0d
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Dec 2, 2024
07c48c8
Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3…
xdev-renovate Dec 8, 2024
f8ddc01
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Dec 9, 2024
94e2149
Remove duplicated save action
AB-xdev Dec 9, 2024
adae2de
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Dec 9, 2024
edde4f6
Merge pull request #122 from xdev-software/renovate/org.apache.maven.…
AB-xdev Dec 9, 2024
50a4081
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Dec 9, 2024
588b36c
Update vaadin.version to v24.5.7
xdev-renovate Dec 9, 2024
eebd6a6
Merge pull request #273 from xdev-software/renovate/vaadin.version
AB-xdev Dec 9, 2024
a9b5f92
Update vaadin.version to v24.5.8
xdev-renovate Dec 11, 2024
fbacead
Merge pull request #276 from xdev-software/renovate/vaadin.version
AB-xdev Dec 11, 2024
105d452
Update dependency com.puppycrawl.tools:checkstyle to v10.21.0
xdev-renovate Dec 13, 2024
dff5284
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Dec 16, 2024
ec586b6
Merge pull request #124 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Dec 16, 2024
73b158a
Update to latest checkstyle version
AB-xdev Dec 16, 2024
6a5a8c5
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Dec 17, 2024
70052e6
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Dec 17, 2024
3b381d8
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Dec 17, 2024
5a49a43
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Dec 23, 2024
4a380b2
Update net.sourceforge.pmd to v7.9.0
xdev-renovate Dec 28, 2024
5c0db24
Update dependency com.puppycrawl.tools:checkstyle to v10.21.1
xdev-renovate Dec 29, 2024
87dea0f
Merge pull request #127 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Jan 13, 2025
22775a4
Merge pull request #126 from xdev-software/renovate/net.sourceforge.pmd
AB-xdev Jan 13, 2025
e766b60
Add information about leaflet static resources
AB-xdev Jan 13, 2025
f688555
Update dependency com.fasterxml.jackson.core:jackson-databind to v2.18.2
xdev-renovate Jan 14, 2025
b098b05
Update dependency org.apache.commons:commons-text to v1.13.0
xdev-renovate Jan 14, 2025
9201f18
Update vaadin.version to v24.6.2
xdev-renovate Jan 15, 2025
90d8e94
Overwrite gh-pages by default
AB-xdev Jan 21, 2025
ba78602
Update org.springframework.boot.version to v3.4.2
xdev-renovate Jan 24, 2025
68f8a9f
Merge pull request #281 from xdev-software/renovate/org.springframewo…
AB-xdev Jan 24, 2025
9fe974c
Merge pull request #280 from xdev-software/renovate/vaadin.version
AB-xdev Jan 24, 2025
e7bd99c
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jan 24, 2025
1d8a95c
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jan 24, 2025
44c5e7b
Merge pull request #480 from xdev-software/renovate/org.apache.common…
AB-xdev Jan 24, 2025
f8e7614
Merge pull request #474 from xdev-software/renovate/com.fasterxml.jac…
AB-xdev Jan 24, 2025
008fa39
Add support for WMS
AB-xdev Jan 24, 2025
d684689
Add missing license header
AB-xdev Jan 24, 2025
a643707
Minor version bump
AB-xdev Jan 24, 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
7 changes: 7 additions & 0 deletions .config/pmd/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,12 @@
<exclude name="UseStringBufferForStringAppends"/>
</rule>

<rule ref="category/java/performance.xml/TooFewBranchesForSwitch">
<properties>
<!-- If you have one case only please use a if -->
<property name="minimumNumberCaseForASwitch" value="2"/>
</properties>
</rule>

<rule ref="category/java/security.xml"/>
</ruleset>
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
contact_links:
- name: 🍃 Leaflet docs
url: https://leafletjs.com/reference.html
about: "Consolidate this when you have questions about Leaflet itself (and not our Vaadin component)"
- name: 💬 Contact support
url: https://xdev.software/en/services/support
about: "If you need support as soon as possible or/and you can't wait for any pull request"
5 changes: 4 additions & 1 deletion .github/workflows/broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ permissions:
jobs:
link-checker:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4

- run: mv .github/.lycheeignore .lycheeignore

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1
uses: lycheeverse/lychee-action@v2
with:
fail: false # Don't fail on broken links, create an issue instead

- name: Find already existing issue
id: find-issue
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30

strategy:
matrix:
Expand Down Expand Up @@ -73,6 +74,7 @@ jobs:
checkstyle:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
timeout-minutes: 15

strategy:
matrix:
Expand All @@ -95,6 +97,7 @@ jobs:
pmd:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
timeout-minutes: 15

strategy:
matrix:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ permissions:
jobs:
check-code:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -48,6 +49,7 @@ jobs:
prepare-release:
runs-on: ubuntu-latest
needs: [check-code]
timeout-minutes: 10
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
Expand Down Expand Up @@ -112,6 +114,7 @@ jobs:
publish-maven:
runs-on: ubuntu-latest
needs: [prepare-release]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -143,6 +146,7 @@ jobs:
publish-pages:
runs-on: ubuntu-latest
needs: [prepare-release]
timeout-minutes: 15
steps:
- uses: actions/checkout@v4

Expand All @@ -168,10 +172,12 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./${{ env.PRIMARY_MAVEN_MODULE }}/target/site
force_orphan: true

after-release:
runs-on: ubuntu-latest
needs: [publish-maven]
timeout-minutes: 10
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
token-check:
runs-on: ubuntu-latest
if: ${{ !(github.event_name == 'pull_request' && startsWith(github.head_ref, 'renovate/')) }}
timeout-minutes: 5
outputs:
hasToken: ${{ steps.check-token.outputs.has }}
steps:
Expand All @@ -40,6 +41,7 @@ jobs:
runs-on: ubuntu-latest
needs: token-check
if: ${{ needs.token-check.outputs.hasToken }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ permissions:
jobs:
labels:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
jobs:
publish-maven:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-from-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ permissions:
jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 60
outputs:
update_branch_merged_commit: ${{ steps.manage-branches.outputs.update_branch_merged_commit }}
create_update_branch_merged_pr: ${{ steps.manage-branches.outputs.create_update_branch_merged_pr }}
Expand Down Expand Up @@ -180,6 +181,7 @@ jobs:
needs: [update]
if: needs.update.outputs.create_update_branch_merged_pr == 1
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .idea/checkstyle-idea.xml

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

1 change: 0 additions & 1 deletion .idea/saveactions_settings.xml

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

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.5.0
* Added support for [WMS](https://leafletjs.com/reference.html#tilelayer-wms) #486
* Updated dependencies

## 4.4.0
* Added support for [GeoJSON](https://leafletjs.com/reference.html#geojson) and [FeatureGroup](https://leafletjs.com/reference.html#featuregroup) #438
* Add "draggable" property to LMarkerOptions #413 (thanks to @ChristianHoesel)
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ To get started it's recommended to have a look at the [demo](./vaadin-maps-leafl
## Installation
[Installation guide of the latest release](https://github.com/xdev-software/vaadin-maps-leaflet-flow/releases/latest#Installation)

#### Static resources
Please note that Leaflet uses a few default icons for various components (e.g. Markers).<br/>
These are also shipped with the library and can be found inside [``META-INF/resources``](./vaadin-maps-leaflet-flow/src/main/resources/META-INF/resources/).<br/>
You might have to fine tune your security configuration to allow these.

#### Compatibility with Vaadin
| Vaadin version | vaadin-maps-leaflet-flow version |
| --- | --- |
Expand Down
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>software.xdev</groupId>
<artifactId>vaadin-maps-leaflet-flow-root</artifactId>
<version>4.4.1-SNAPSHOT</version>
<version>4.5.0-SNAPSHOT</version>
<packaging>pom</packaging>

<organization>
Expand Down Expand Up @@ -40,12 +40,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.18.1</version>
<version>10.21.1</version>
</dependency>
</dependencies>
<configuration>
Expand All @@ -70,7 +70,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.25.0</version>
<version>3.26.0</version>
<configuration>
<includeTests>true</includeTests>
<printFailingErrors>true</printFailingErrors>
Expand All @@ -82,12 +82,12 @@
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>7.5.0</version>
<version>7.9.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>7.5.0</version>
<version>7.9.0</version>
</dependency>
</dependencies>
</plugin>
Expand All @@ -99,7 +99,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</plugin>
</plugins>
</reporting>
Expand Down
20 changes: 16 additions & 4 deletions vaadin-maps-leaflet-flow-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<parent>
<groupId>software.xdev</groupId>
<artifactId>vaadin-maps-leaflet-flow-root</artifactId>
<version>4.4.1-SNAPSHOT</version>
<version>4.5.0-SNAPSHOT</version>
</parent>

<artifactId>vaadin-maps-leaflet-flow-demo</artifactId>
<version>4.4.1-SNAPSHOT</version>
<version>4.5.0-SNAPSHOT</version>
<packaging>jar</packaging>

<organization>
Expand All @@ -29,9 +29,9 @@
<mainClass>software.xdev.vaadin.Application</mainClass>

<!-- Dependency-Versions -->
<vaadin.version>24.4.11</vaadin.version>
<vaadin.version>24.6.2</vaadin.version>

<org.springframework.boot.version>3.3.3</org.springframework.boot.version>
<org.springframework.boot.version>3.4.2</org.springframework.boot.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -61,6 +61,12 @@
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-core</artifactId>
<exclusions>
<exclusion>
<groupId>com.vaadin</groupId>
<artifactId>hilla-dev</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>software.xdev</groupId>
Expand All @@ -72,6 +78,12 @@
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-spring-boot-starter</artifactId>
<exclusions>
<exclusion>
<groupId>com.vaadin</groupId>
<artifactId>hilla</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Temporarily excluded by Vaadin due to "security vulnerability" -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
import software.xdev.vaadin.maps.leaflet.layer.LLayerGroup;
import software.xdev.vaadin.maps.leaflet.layer.raster.LImageOverlay;
import software.xdev.vaadin.maps.leaflet.layer.raster.LTileLayer;
import software.xdev.vaadin.maps.leaflet.layer.raster.LTileLayerWMS;
import software.xdev.vaadin.maps.leaflet.layer.raster.LTileLayerWMSOptions;
import software.xdev.vaadin.maps.leaflet.layer.raster.LVideoOverlay;
import software.xdev.vaadin.maps.leaflet.layer.raster.LVideoOverlayOptions;
import software.xdev.vaadin.maps.leaflet.layer.ui.LMarker;
Expand Down Expand Up @@ -89,9 +91,26 @@ public ComplexDemo()
"https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png",
16,
"Map data: &copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors, <a "
+ "href=\"http://viewfinderpanoramas.org\">SRTM</a> | Map style: &copy; <a href=\"https://opentopomap"
+ "href=\"https://viewfinderpanoramas.org\">SRTM</a> | Map style: &copy; <a href=\"https://opentopomap"
+ ".org\">OpenTopoMap</a> (<a href=\"https://creativecommons.org/licenses/by-sa/3.0/\">CC-BY-SA</a>"
);
final LTileLayerWMS tlWMS = new LTileLayerWMS(
this.reg,
"https://ows.mundialis.de/services/service?",
"TOPO-WMS,OSM-Overlay-WMS",
11,
"&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors, "
+ "<a href=\"https://www.terrestris.de/en/demos/\">Terrestris/Mundialis</a>"
);
final LTileLayerWMS tlWMSUSWeatherData = new LTileLayerWMS(
this.reg,
"https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi",
new LTileLayerWMSOptions()
.withLayers("nexrad-n0r-900913")
.withFormat("image/png")
.withTransparent(true)
.withAttribution("Weather data © 2012 IEM Nexrad")
);

final LDivIcon divIconInfo = new LDivIcon(this.reg, new LDivIconOptions()
.withHtml("""
Expand Down Expand Up @@ -177,7 +196,7 @@ public ComplexDemo()
.addLayer(tlOSM)
.addLayer(lLayerGroupPlaces);

this.addControls(tlOSM, tlOSMHOT, tlTopo, lLayerGroupPlaces, lLayerGroupFood);
this.addControls(tlOSM, tlOSMHOT, tlTopo, tlWMS, lLayerGroupPlaces, lLayerGroupFood, tlWMSUSWeatherData);

this.hlButtons.setWidthFull();
this.add(this.hlButtons);
Expand All @@ -198,20 +217,24 @@ private void addControls(
final LTileLayer tlOSM,
final LTileLayer tlOSMHOT,
final LTileLayer tlTopo,
final LTileLayerWMS tlWMS,
final LLayerGroup lLayerGroupPlaces,
final LLayerGroup lLayerGroupFood)
final LLayerGroup lLayerGroupFood,
final LTileLayerWMS tlWMSUSWeatherData)
{
// Use LinkedHashMap for order
final LinkedHashMap<String, LLayer<?>> baseLayers = new LinkedHashMap<>();
baseLayers.put("OSM", tlOSM);
baseLayers.put("OSM HOT", tlOSMHOT);
baseLayers.put("TOPO", tlTopo);
baseLayers.put("WMS", tlWMS);
final LControlLayers lControlLayers = new LControlLayers(
this.reg,
baseLayers,
new LControlLayersOptions().withCollapsed(false))
.addOverlay(lLayerGroupPlaces, "Places")
.addOverlay(lLayerGroupFood, "Food")
.addOverlay(tlWMSUSWeatherData, "US Weather data")
.addTo(this.map);
// Apply manual patch for https://github.com/Leaflet/Leaflet/issues/9009 as this was not released yet
this.map.on(
Expand Down
Loading
Loading