diff --git a/packages/geoview-core/public/templates/demos/demo-osdp-integration.html b/packages/geoview-core/public/templates/demos/demo-osdp-integration.html index 7a4c8f50726..78c4961eb3d 100644 --- a/packages/geoview-core/public/templates/demos/demo-osdp-integration.html +++ b/packages/geoview-core/public/templates/demos/demo-osdp-integration.html @@ -123,9 +123,11 @@

OSDP Integration

  • - Changes the language from french to english or english to french and reloads the map if it exists. Note: this will change the - names of the layers, as maintainGeocoreLayerNames is set to false. In this case, we will lose any custom names, and they will - have to be reinserted (in the new language). If set to true, the layer names will remain as they were. + + +
    + Changes the language from french to english or english to french and reloads the map if it exists. + Note: The checkbox determines if the layer names are kept as is, or replaced with the names from the service (in the new language).
    Code
    @@ -133,7 +135,7 @@ 

    OSDP Integration

    const mapDiv = document.getElementById('Map1'); if (mapDiv) { mapDiv.setAttribute('data-lang', lang); - cgpv.api.maps.Map1.reloadWithCurrentState(false); + cgpv.api.maps.Map1.reloadWithCurrentState(); }
    @@ -141,57 +143,86 @@

    OSDP Integration

    -
    - - - -
    - -
    -
    - - -
    - +
    +
    +
    + + +
    +