Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Release v1.46.0 - #minor #1051

Merged
merged 56 commits into from
Sep 2, 2024
Merged

New Release v1.46.0 - #minor #1051

merged 56 commits into from
Sep 2, 2024

Commits on Aug 26, 2024

  1. Merge pull request #1037 from geoadmin/master

    Sync dev branch to master
    ltshb authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    6e614e4 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    88bc13c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1040 from geoadmin/pb-492-add-description-to-expo…

    …rted-gpx
    
    PB-492: Add description to exported GPX file.
    ismailsunni authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    f69cfc5 View commit details
    Browse the repository at this point in the history
  3. PB-666: Upgrade ol-maplibre-layer 1.0.1

    ismailsunni authored and pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    bd3e39d View commit details
    Browse the repository at this point in the history
  4. PB-666: Upgrade to OL v10

    ismailsunni authored and pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    100343a View commit details
    Browse the repository at this point in the history
  5. PB-666: Fix error after upgrading.

    ismailsunni authored and pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    f8422f1 View commit details
    Browse the repository at this point in the history
  6. PB-666: Upgrade to OL 10.1.0

    ismailsunni authored and pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    aca65d9 View commit details
    Browse the repository at this point in the history
  7. Update all libs to latest

    pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    915ae9d View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1030 from geoadmin/OL-10

    PB-666: Upgrade to OpenLayers v10.
    pakb authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    6842656 View commit details
    Browse the repository at this point in the history
  9. PB-871 : add debug entries for URL override for main DI services

    supporting API3, WMS and WMTS base URL overrides.
    
    Changing calls to functions using these base URLs from the config.js so that they now prioritize the debug value if defined.
    pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    804ea1e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7430003 View commit details
    Browse the repository at this point in the history
  11. PB-871 : adding debug URL params for URL override

    named like they were in the mf-geoadmin3's code
    pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    780a727 View commit details
    Browse the repository at this point in the history
  12. PB-871 : moving function enforceEndingSlashInUrl back into config.js

    it otherwise creates a circular dependency and some part of the tests can't load properly (LV95 is imported from config.js, which requires something in utils.js, which requires something in config.js, etc...)
    pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c9ab30a View commit details
    Browse the repository at this point in the history
  13. PB-871 : re-arranging app config into multiple files

    Trying to gather common config together in a meaningfully named config file.
    
    Adding function to get base URLs, instead of direct access to constants. So that we have the opportunity to override base URLs. I didn't want to go through the store to do that. Doing so would create a lot of circular dependencies between the store, the config and components.
    As it's a debug tool, that's "good enough" this way.
    pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8f5f880 View commit details
    Browse the repository at this point in the history
  14. PB-871 : code clean-up

    moving slash enforcing function back to where other base URLs are in the config
    pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    e7746fc View commit details
    Browse the repository at this point in the history
  15. PB-871 : keep base URL config objects private

    and only export/share function to access them.
    
    Also clearing the layers config cache whenever a base URL changes. Changing the API3 URL would not trigger a new layer config load without that.
    pakb committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    5061ab6 View commit details
    Browse the repository at this point in the history
  16. Merge pull request #1025 from geoadmin/feat-PB-871-debug-tools-for-url

    PB-871 : add debug UI and URL params to override URLs used by data integration team - #minor
    pakb authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    a5e96ae View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    81c40ca View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    5bdbc8d View commit details
    Browse the repository at this point in the history
  19. Merge pull request #1041 from geoadmin/pb-870-missing-kml

    PB-807: Do not use conflict resolution in text printing and adjust font size.
    ismailsunni authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    71ab7a1 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    5c1b7fd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1042 from geoadmin/pb-735-dropbox-url

    PB-735: Replace dl=0 to dl=1 for dropbox direct download
    ismailsunni authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    49bb723 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. PB-898 Fix the RM geo.admin.ch link in the footer

    There's no RM version of the page, so we fall back to DE for that link
    schtibe committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    7ed2624 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec4fa33 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63cc1cd View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1045 from geoadmin/bug-pb-898-fix-rumantsch-foote…

    …r-link
    
    PB 898 Fix rumantsch footer link to geo.admin.ch - #patch
    schtibe authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    fa65a11 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. PB-154: Improve debug toolbar

    Make it more concise in order to use it also on smaller screen. For device
    orientation we will need a new button, so we need to make some room to avoid
    having the button off screen.
    
    Also removed useless 3d debugs, they are now in the regular menu.
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    d3a0000 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    718c6ee View commit details
    Browse the repository at this point in the history
  3. PB-154: Avoid exception when starting geolocation

    The initial geolocation might be invalid which creates a crash error, so we avoid it.
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    38ce8c0 View commit details
    Browse the repository at this point in the history
  4. PB-154: Added both orientation events

    Not all devices uses the same orientation events, therefore added both.
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    1c01f01 View commit details
    Browse the repository at this point in the history
  5. PB-154: Avoid race condition on ol with geolocation tracking

    Due to the moveend event that set the center when the user moved the
    map by pressing/touching the map and a geolocation arrived during the move operation
    the disabled tracking did not work as expected and the map was re-centered
    canceling the move action of the user.
    
    So now we are listening to the pointerdrag that happens as soon as we start to
    drag and not when dragging is finished. Also moveend happened not only when the
    using moved the map, but has soon as the map moved even programmatically.
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    0b4b7df View commit details
    Browse the repository at this point in the history
  6. PB-154: Added user feedback for geolocation tracking

    When the goelocation tracking is disabled a dot in the icon is added in order
    to provide a user feedback on how to re-center the map
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    6a0fdf7 View commit details
    Browse the repository at this point in the history
  7. PB-154: Avoid too many useless store dispatch

    This improved reactivity and performance
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    40b4f14 View commit details
    Browse the repository at this point in the history
  8. PB-154: Avoid too many useless store disptach in 3D

    We had some case with infinite loop due to heading wrapping in 3D where
    cesium reported heading 360 which was wrapped to 0 and triggered a dispatch
    and a fly to which reported then back 360....
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    a854ed0 View commit details
    Browse the repository at this point in the history
  9. PB-154: Do not zoom to geolocation

    This kind of annoying especially if you want to recenter but keep your zoom.
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    e487079 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3e36d4a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3bd9cac View commit details
    Browse the repository at this point in the history
  12. PB-154: Removed autorotation and geolocation tracking in 3D mode

    Re-centering on position in 3D is more complex as in 2d because the of the camera.
    If the pitch is not 90° then we need to compute the camera position in order
    to have the position centered on the screen. For this moment we don't do this
    computation and simply don't re-center the view on geolocation by disabling
    geolocation tracking in 3D.
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    198d14f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9b6b5db View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    344f6cc View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    270939d View commit details
    Browse the repository at this point in the history
  16. PB-154 : use fontawesome stacking icons on geoloc button

    and move compass feedback to geolocation button component, linking them together visually on the UI
    pakb authored and ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    b6c3ce4 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    51eabf1 View commit details
    Browse the repository at this point in the history
  18. PB-154: Keep the compass on in auto-rotation

    Keep the compass on in auto-rotation even if the map is north.
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    0ccf0b8 View commit details
    Browse the repository at this point in the history
  19. PB-154: Disabled auto-rotation when the map is dragged

    Auto rotation rotate the map using the geolocation as center and it doesn't make
    sense to rotate if the location is not centered (this is also the same behavior
     as on the swisstopo app)
    ltshb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    f121f36 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    4316cc2 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    3b52e32 View commit details
    Browse the repository at this point in the history
  22. Merge pull request #1022 from geoadmin/feat-PB-154-geolocation-orient…

    …ation
    
    PB-154: Geolocation device orientation (gyroscope) - #minor
    ltshb authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    33bb150 View commit details
    Browse the repository at this point in the history
  23. PB-131 : fix WebMercator extent/bounds

    we were using values from epsg.io website, but our backends use different values. I found out a project in our geoadmin organization that contained all the required values, so I copied them from there.
    
    This should fix the delta (on the Y axis) that we were experiencing when showing WMS/WMTS data with OpenLayers while showing vector tiles under
    pakb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    7f0e61a View commit details
    Browse the repository at this point in the history
  24. Merge pull request #1048 from geoadmin/fix-PB-131-mercator-tile-displ…

    …acement
    
    PB-131 : fix WebMercator extent/bounds
    pakb authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    3e66a9e View commit details
    Browse the repository at this point in the history
  25. PB-865 : remove forced clampToGround for KML polyline in 3D

    KML are well able to set that themselves if they require it, and some use cases need this to be false (flight tracks)
    pakb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    3c06267 View commit details
    Browse the repository at this point in the history
  26. Merge pull request #1049 from geoadmin/fix-PB-865-no-clamptoground-fo…

    …r-3d-kml
    
    PB-865 : remove forced clampToGround for KML polyline in 3D
    pakb authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    ef1ddba View commit details
    Browse the repository at this point in the history
  27. PB-871 : only dispatch if something has changed

    it was dispatching any time any URL param changed, leading to the part of the code reloading the topic/layers config being called way too often
    pakb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    202b7bf View commit details
    Browse the repository at this point in the history
  28. PB-871 : ensure "null" is used when base url overrides is disabled

    When switching to 3D, some undefined values were set, leading to a lot of bugs (and no background tiles being added in 3D)
    pakb committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    871a1ad View commit details
    Browse the repository at this point in the history
  29. Merge pull request #1046 from geoadmin/fix-PB-871-too-many-refresh

    PB-871 : only dispatch if something has changed
    pakb authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    c0334e4 View commit details
    Browse the repository at this point in the history
  30. Merge pull request #1054 from geoadmin/master

    Update develop with Master
    pakb authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    c2dc9cc View commit details
    Browse the repository at this point in the history