Skip to content

Merge from upstream#7

Merged
bzar merged 95 commits intomasterfrom
merge-from-upstream
Mar 18, 2025
Merged

Merge from upstream#7
bzar merged 95 commits intomasterfrom
merge-from-upstream

Conversation

@bzar
Copy link

@bzar bzar commented Mar 18, 2025

  • Merge updates from upstream
  • Fix module not found errors, syntax errors and configuration errors

Zharktas and others added 30 commits July 24, 2023 13:33
detecting Microsoft-IIS server
just fixing a few typos and some style/writing suggestions
Rather than manually handle the base Leaflet layer, defer it to the
Leaflet-providers library [1], which allows integrating many different
providers. We no longer default to any tile set provider, as they all
require registration. If no provider is set in config, a notice is
displayed to users pointing to the documentation page.

To set a provider in most cases only two options are needed, eg:

    ckanext.spatial.common_map.type = Stadia.StamenTerrain
    ckanext.spatial.common_map.apikey = <api_key>

or:

    ckanext.spatial.common_map.type = MapBox
    ckanext.spatial.common_map.id = <map_id>
    ckanext.spatial.common_map.accessToken = <access_token>

The old `mapbox`, `wms` and `custom` modes are kept for backwards
compatibility.

[1] https://github.com/leaflet-extras/leaflet-providers
change str validator to unicode_safe
@bzar bzar merged commit f676e48 into master Mar 18, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.