Skip to main content
Odoo Community Association

Leaflet Javascript Library

Beta License: AGPL-3 OCA/geospatial Translate me on Weblate Try me on Runboat

This module extends odoo to include Leaflet Javacript library.

This module is used by web_view_leaflet_map.

Important Note

The javascript library is opensource and distributed under BSD 2 Licence. See : https://github.com/Leaflet/Leaflet/blob/main/LICENSE. The plugin library is opensource and distributed under MIT Licence. See : https://github.com/Leaflet/Leaflet.markercluster/blob/master/MIT-LICENCE.txt.

You can so use it freely.

However, display maps requires to display layers provided by tiles servers, that requires ressources.

For testing purpose

You can use the openStreetMap url https://tile.openstreetmap.org/{z}/{x}/{y}.png or other, listed in that page : https://wiki.openstreetmap.org/wiki/Tile_servers

Apart from very limited testing purposes, you should not use the tiles supplied by OpenStreetMap.org itself. OpenStreetMap is a volunteer-run non-profit body and cannot supply tiles for large-scale commercial use.

Regular / High Usage

Library Update

For the time being, the module embed the lealflet.js library version 1.9.4 ( released on May 18, 2023.)

If a new release is out:

  • please download it here https://leafletjs.com/download.html

  • update the javascript, css and images, present in the folder static/lib/leaflet

  • update the plugins

  • test the features

  • make a Pull Request

Table of contents

Configuration

  • Go to Settings > Technical > Parameters > System Parameters

  • Create or edit the parameter with the key leaflet.tile_url

  • As a value, set the url of the tiles server you chose. (See description)

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • GRAP

Contributors

Other credits

The module embed:

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

legalsylvain

This module is part of the OCA/geospatial project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo-addon-web-leaflet-lib 19.0.1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-web-leaflet-lib 19.0.1.0.1
File Interpreter ABI Platform Actions
odoo_addon_web_leaflet_lib-19.0.1.0.1-py3-none-any.whl Python 3 none any Details for odoo_addon_web_leaflet_lib-19.0.1.0.1-py3-none-any.whl

Release files / odoo_addon_web_leaflet_lib-19.0.1.0.1-py3-none-any.whl

Download URL odoo_addon_web_leaflet_lib-19.0.1.0.1-py3-none-any.whl
Size 198.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ade5fbdfdf02c27a9dcfce7d35d7d8b7d54156d637f7abd06834387a70ecb01
BLAKE2b-256 checksum
How to use checksums
27468bded4bb3b420a9d9695eb4f48edaa54447001050a1b682875aa10623a5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for odoo-addon-web-leaflet-lib 19.0.1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page