You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2162d37
Browse filesBrowse the repository at this point in the historyBrowse files
feat!: use EPSG:4326 as default coordinate system (#3451)
* feat!: use EPSG:4326 as default coordinate system
Changes the default coordinate system / user projection of the Map component to `EPSG:4326`, a.k.a. GPS coordinates. That means that all coordinates passed to, or returned from the public API are assumed to be in this projection. Internally the component will automatically convert coordinates into the configured view projection.
This is a breaking change, and all coordinates that were specified in the previous default (`EPSG:3857`) need to be changed to use `EPSG:4326`. A separate change will allow setting the user projection back to `EPSG:3857`.
Copy file name to clipboardExpand all lines: vaadin-map-flow-parent/vaadin-map-flow-integration-tests/src/main/java/com/vaadin/flow/component/map/DetachAttachPage.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,7 @@ public DetachAttachPage() {
11
11
Mapmap = newMap();
12
12
add(map);
13
13
// Modify viewport, so we can test some non-default values
Copy file name to clipboardExpand all lines: vaadin-map-flow-parent/vaadin-map-flow-integration-tests/src/main/java/com/vaadin/flow/component/map/FeatureEventsPage.java
Copy file name to clipboardExpand all lines: vaadin-map-flow-parent/vaadin-map-flow-integration-tests/src/main/java/com/vaadin/flow/component/map/MapEventsPage.java
Copy file name to clipboardExpand all lines: vaadin-map-flow-parent/vaadin-map-flow-integration-tests/src/main/java/com/vaadin/flow/component/map/MarkerFeaturePage.java
Copy file name to clipboardExpand all lines: vaadin-map-flow-parent/vaadin-map-flow-integration-tests/src/main/java/com/vaadin/flow/component/map/PreserveOnRefreshPage.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,7 @@ public PreserveOnRefreshPage() {
20
20
// Add custom feature layer (makes 3 layers in total)
Copy file name to clipboardExpand all lines: vaadin-map-flow-parent/vaadin-map-flow-integration-tests/src/main/java/com/vaadin/flow/component/map/ViewPage.java
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,12 @@ public ViewPage() {
13
13
14
14
NativeButtonsetCenterButton = newNativeButton("Set Center", e -> {
Copy file name to clipboardExpand all lines: vaadin-map-flow-parent/vaadin-map-flow-integration-tests/src/main/java/com/vaadin/flow/component/map/demo/ImageWMSDemo.java
Copy file name to clipboardExpand all lines: vaadin-map-flow-parent/vaadin-map-flow-integration-tests/src/main/java/com/vaadin/flow/component/map/demo/SamplerView.java
Copy file name to clipboardExpand all lines: vaadin-map-flow-parent/vaadin-map-flow-integration-tests/src/main/java/com/vaadin/flow/component/map/demo/TileWMSDemo.java
Copy file name to clipboardExpand all lines: vaadin-map-flow-parent/vaadin-map-flow-integration-tests/src/main/java/com/vaadin/flow/component/map/demo/XYZSourceDemo.java
0 commit comments