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:
Klaus Weidenbach 2012-02-19 14:28:43 +01:00
parent 1dbc7fc340
commit ecfdb0ab23
3 changed files with 61 additions and 12 deletions

3
openstreetmap/admin.tpl Normal file
View 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>