Display map widget custom attribution

Fixes #87
This commit is contained in:
jqnatividad 2014-11-03 16:51:46 -05:00
parent 7c2b42693d
commit 89795c4b3d
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
href="http://openstreetmap.org/copyright">OpenStreetMap</a> contributors</div>
{% if map_config.type == 'mapbox' %}
<div>Tiles by <a href="http://www.mapbox.com/about/maps/">MapBox</a></div>
{% elif map_config.type == 'custom' %}
<div>{{ map_config.attribution|safe }}</div>
{% else %}
<div>Tiles by <a href="http://www.mapquest.com">MapQuest</a></div>
{% endif %}