Skip to content

Commit

Permalink
Editor / Map / Use main context to have a better default on new extent (
Browse files Browse the repository at this point in the history
#8046)

The map configuration was not using a context and the map extent was centered on coordinate 0 0.

Use the default map context which will center on the context map extent which depends on each catalogue configuration.
  • Loading branch information
fxprunayre authored May 17, 2024
1 parent 83b1ab3 commit a0aadf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web-ui/src/main/resources/catalog/js/CatController.js
Original file line number Diff line number Diff line change
Expand Up @@ -845,9 +845,9 @@
geodesicExtents: false
},
"map-editor": {
context: "",
context: "../../map/config-viewer.xml",
extent: [0, 0, 0, 0],
layers: [{ type: "osm" }]
layers: []
},
"map-thumbnail": {
context: "../../map/config-viewer.xml",
Expand Down

0 comments on commit a0aadf5

Please sign in to comment.