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

Lizmap JavaScript API breaks #85

Open
mdouchin opened this issue Oct 16, 2024 · 0 comments
Open

Lizmap JavaScript API breaks #85

mdouchin opened this issue Oct 16, 2024 · 0 comments

Comments

@mdouchin
Copy link
Contributor

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
@mdouchin mdouchin pinned this issue Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant