mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +00:00
Make OSM tile server configurable.
This patch makes it possible to configure the tile server used for serving the OpenStreetMap maps. Add README with hints about the Tile Usage Policy (http://wiki.openstreetmap.org/wiki/Tile_usage_policy). A list of public available tile servers can be found here: http://wiki.openstreetmap.org/wiki/TMS You can also configure the default zoom level.
This commit is contained in:
parent
1dbc7fc340
commit
ecfdb0ab23
3 changed files with 61 additions and 12 deletions
3
openstreetmap/admin.tpl
Normal file
3
openstreetmap/admin.tpl
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{ inc field_input.tpl with $field=$tmsserver }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$zoom }}{{ endinc }}
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
Loading…
Add table
Add a link
Reference in a new issue