Repository
OCA/geospatial · module folder · Try on Runboat
Module version
1.1.0
Category
Extra Tools
Folder size
0.58 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/geospatial
Last tracking update
2026-08-07 08:42:57
Authors
Odoo Community Association (OCA), GRAP
Maintainers
Odoo Community Association (OCA), GRAP
Committers
Ronald Portier, Sylvain LE GAL, OCA-git-bot, Mourad, oca-ci, Thibault Rey
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
web_leaflet_draw_lib, web_view_leaflet_map
Description
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**

- you can contact one of the following companies :
  <https://switch2osm.org/providers/>
- You can also install yourself your own tiles servers. See
  documentation : <https://switch2osm.org/serving-tiles/>

**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

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • session_info(self)

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
64 days ago
Last activity
63 days ago
Repository
OCA/geospatial
Pull request
[19.0][MIG] web_leaflet_lib: Migration to 19.0 (#464)