-
-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] web_leaflet_lib: pre-commit stuff
- Loading branch information
1 parent
b52bb1b
commit 548f7fb
Showing
10 changed files
with
86 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- 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) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Sylvain LE GAL (<https://www.twitter.com/legalsylvain>) |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
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> | ||
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/> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters