Skip to content

Lizmap JavaScript API breaks #85

@mdouchin

Description

@mdouchin

We will try to write down here the list of known API breaks for each LWC version

3.8.x

The following words contained in the JS scripts would be a good hint for finding not working JS code:

  • OpenLayers. : the old OpenLayers 2.12 is no longer usable. Use instead the new lizMap.ol

How to find deprecated scripts :

# Find in this repository root folder all JS scripts containing given keywords
rgrep -iEl --color "openlayers\.|other_word_to_find" . 

# which will show for example
./library/misc/zoom_to_lon_lat/zoom_to_lon_lat.js
./library/translation/qgis_project/translation.js
./library/tools/smartfilter/smartfilter.js
./library/tools/simplefilter/simplefilter.js
./library/tools/snapping_while_editing/activateSnapWhenEditing.js
./library/tools/point_buffer_on_map/buffer.js
./library/tools/multipleatlas/multipleatlas.js
./library/tools/autocomplete_search_dock/autocomplete_search_dock.js
./library/api/oxalis/js/TestOperisWebConnect.js
./library/api/ign_web_services/ign-altimetrie.js
./library/api/ign_web_services/ign-isochrone-geopf.js
./library/api/ign_web_services/ign-altimetrie-profil.js
./library/api/ign_web_services/ign-isochrone.js
./library/api/google_street_view/GoogleStreetView.js
./library/data/wmts_direct_access/lizmap_wmts_direct_access_3.6.js
./library/data/edit_gpx/GPX.js
./library/ui/display_help_on_dock_opening/display_help_on_dock_opening.js
./library/ui/measure_tool_custom_style/measure_tool_custom_style.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions