Skip to content

Commit ed4a1f5

Browse files
committed
Fix links
1 parent e70b710 commit ed4a1f5

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.run/Run Demo.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<component name="ProjectRunConfigurationManager">
22
<configuration default="false" name="Run Demo" type="Application" factoryName="Application">
33
<option name="MAIN_CLASS_NAME" value="software.xdev.vaadin.Application" />
4-
<module name="vaadin-maps-leaflet-flow-demo" />
4+
<module name="flow-demo" />
55
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
66
<extension name="coverage">
77
<pattern>

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ A Vaadin Flow Java API for [Leaflet](https://leafletjs.com/)
1212

1313
This API wraps the Leaflet API in a Vaadin friendly way.<br/>It uses a similar structure (classes, methods) as the [Leaflet JavaScript API](https://leafletjs.com/reference.html).
1414

15-
To get started it's recommended to have a look at the [demo](./vaadin-maps-leaflet-flow-demo), notably the [minimalistic example](./vaadin-maps-leaflet-flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo/MinimalisticDemo.java).
15+
To get started it's recommended to have a look at the [demo](./flow-demo), notably the [minimalistic example](./flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo/MinimalisticDemo.java).
1616

1717
> [!NOTE]
1818
> **The API only supports sending instructions to the client**<br/>
1919
> Due to data integrity retrieving client-side data (that can be modified by users) is not supported.
2020
>
21-
> Event listeners can still be registered but this needs to be done manually. An example is available [in the demo](./vaadin-maps-leaflet-flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo/EventDemo.java).
21+
> Event listeners can still be registered but this needs to be done manually. An example is available [in the demo](./flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo/EventDemo.java).
2222
>
23-
> <details><summary>The following code snippet is a simplification of an even more <a href="./vaadin-maps-leaflet-flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo/ComplexDemo.java#L251">complex example</a> which sends (unvalidated!) client side data back to the server (click to expand)</summary>
23+
> <details><summary>The following code snippet is a simplification of an even more <a href="./flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/demo/ComplexDemo.java#L251">complex example</a> which sends (unvalidated!) client side data back to the server (click to expand)</summary>
2424
>
2525
> ```java
2626
> this.map.on("click", "e => document.getElementById('" + ID + "').$server.mapClicked(e.latlng.lat, e.latng.lng)");
@@ -38,7 +38,7 @@ To get started it's recommended to have a look at the [demo](./vaadin-maps-leafl
3838
3939
#### Static resources
4040
Please note that Leaflet uses a few default icons for various components (e.g. Markers).<br/>
41-
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/>
41+
These are also shipped with the library and can be found inside [``META-INF/resources``](./flow/src/main/resources/META-INF/resources/).<br/>
4242
You might have to fine tune your security configuration to allow these.
4343
4444
#### Compatibility with Vaadin
@@ -51,7 +51,7 @@ You might have to fine tune your security configuration to allow these.
5151
5252
## Run the Demo
5353
* Checkout the repo
54-
* Run ``mvn install && mvn -f vaadin-maps-leaflet-flow-demo spring-boot:run``
54+
* Run ``mvn install && mvn -f flow-demo spring-boot:run``
5555
* Open http://localhost:8080
5656
5757
<details>

flow-demo/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@
9494
</exclusions>
9595
</dependency>
9696
<dependency>
97-
<groupId>software.xdev</groupId>
98-
<artifactId>vaadin-maps-leaflet-flow</artifactId>
97+
<groupId>software.xdev.vaadin.maps_leaflet</groupId>
98+
<artifactId>flow</artifactId>
9999
<version>${project.version}</version>
100100
</dependency>
101101

renovate.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"packageRules": [
55
{
66
"description": "Ignore project internal dependencies",
7-
"packagePattern": "^software.xdev:vaadin-maps-leaflet-flow",
7+
"packagePattern": "^software.xdev.vaadin.maps_leaflet:",
88
"datasources": [
99
"maven"
1010
],

0 commit comments

Comments
 (0)