Skip to content

Commit

Permalink
ADX-1061 Custom tile server configured to OpenStreetMap server
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeksabala committed Oct 31, 2023
1 parent e63db21 commit e2b41ea
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ckan/adx_config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ ckanext.validation.default_validation_options = {"limit_rows": 50000, "limit_err
ckanext.unaids.auth0_domain =
ckanext.unaids.oauth2_api_audience =
ckanext.unaids.oauth2_required_scope = access:adr
ckanext.unaids.profile_editor_url = http://profile-editor.minikube
ckanext.unaids.profile_editor_url = http://localhost:3000

scheming.dataset_schemas_directory = /usr/lib/adx/submodules/unaids_data_specifications/package_schemas

Expand Down Expand Up @@ -225,6 +225,7 @@ ckan.preview.direct = png jpg gif
ckan.preview.loadable = html htm rdf+xml owl+xml xml n3 n-triples turtle plain atom csv tsv rss txt json
ckan.display_timezone = server


# Google Analytics Settings
# ckan.googleanalytics_id = NOT_SET # Set as an env var from the AWS secrets manager

Expand Down Expand Up @@ -308,6 +309,11 @@ ckanext.saml2auth.logout_requests_signed = False
# Uncomment the internal login option to enable log in in offline mode
# ckanext.saml2auth.enable_ckan_internal_login = True

## ckanext-scheming
ckanext.spatial.common_map.type = custom
ckanext.spatial.common_map.custom.url = https://tile.openstreetmap.org/{z}/{x}/{y}.png
ckanext.spatial.common_map.attribution = &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors

## Logging configuration
[loggers]
keys = root, ckan, ckanext, werkzeug, debug
Expand Down

0 comments on commit e2b41ea

Please sign in to comment.