-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ckanext-spatial is not load ckan.ini config #4518
Comments
Oh... is this the missing link in the following issue? |
Update: my fault, wasn't putting .ini entries under app:main section, just appending to end of file, leaving comment in case others make the same mistake. @FuhuXia ? I'm trying to use the above (type = custom) to point to https://tile.openstreetmap.org/{z}/{x}/{y}.png (with and without the $s OSMs example shows) and it appears to have no effect, i.e. just the "No map provider set. Please check the documentation" text, no failed call to OSM in the log etc. Don't know if it's not reading .ini, or .ini formatting is wrong, but agree with OP and do not think the problem is an out of date link to Stamen. |
@brownterryn Thanks for the input. The issue we are having is custom ckan theme not loading latest ckanext-spatial snippet. Fix is on the way. |
fixed in datagovtheme PR by updating to the latest spatial_query snippet. Configured map tile server in catalog PR. |
ckanext-spatial's map widget is configurable, such as this:
This does not work in our catalog. It always use the default, current stamen-tiles. The attribution text is hard coded in the datagovtheme.
How to reproduce
Add above code block to .env or ckan.ini.
Expected behavior
Map widget shows new watercolor tiles.
Actual behavior
No change.
Sketch
[Notes or a checklist reflecting our understanding of the selected approach]
The text was updated successfully, but these errors were encountered: