Closed ltkum closed 1 month ago
Passed #3298
•
b75e406ff4: Merge pull request #1017 from geoadmin/bugfix-PB-804-dont-follow-search-on-posit...
Project |
web-mapviewer
|
Branch Review |
develop
|
Run status |
|
Run duration | 05m 13s |
Commit |
|
Committer | Pascal Barth |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
21
|
|
0
|
|
210
|
View all changes introduced in this branch ↗︎ |
there's still some issues with the notation
crosshair=x,y
, see https://sys-map.int.bgdi.ch/preview/bugfix-pb-804-dont-follow-search-on-position-sharing/index.html#/map?swisssearch=2672000,1216250¢er=2557000,1196750&crosshair=2557000,1196750it should open the viewer over lake Neuchatel, but is still moving to the searched coordinates instead
Found out the issue and it should now work as expected
Issue : When sharing a position, if there was a search query set, the search query would take priority over the position sharing, removing the shared position pin and centering on the search query result instead. Fix : When a position is shared, it sets the marker url parameter, which means we can decide that when a marker is present, we should not center on the query result.
Test link