Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Adds support for ZugMap
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krienbühl committed Dec 4, 2018
1 parent ef45143 commit f5f175c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changelog
---------

- Adds support for ZugMap.
[href]

0.44.0 (2018-12-03)
~~~~~~~~~~~~~~~~~~~

Expand Down
1 change: 1 addition & 0 deletions onegov/org/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def org_content_security_policy():
policy.connect_src.add('https://sentry.io')
policy.connect_src.add('https://*.google-analytics.com')
policy.connect_src.add('https://stats.g.doubleclick.net')
policy.connect_src.add('https://maps.zg.ch')

return policy

Expand Down
4 changes: 3 additions & 1 deletion onegov/org/forms/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ class SettingsForm(Form):
default='geo-mapbox',
choices=[
('geo-mapbox', _("Mapbox (Default)")),
('geo-vermessungsamt-winterthur', "Vermessungsamt Winterthur")
('geo-vermessungsamt-winterthur', "Vermessungsamt Winterthur"),
('geo-zugmap-luftbild', "ZugMap Luftbild"),
('geo-zugmap-ortsplan', "ZugMap Ortsplan"),
]
)

Expand Down

0 comments on commit f5f175c

Please sign in to comment.