added stamen stadia as a spatial map provider
This commit is contained in:
parent
a0fc203328
commit
d419d9d063
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ $CKAN__PLUGINS == *"spatial_metadata"* ]]; then
|
||||
echo "Configuring CKAN spatial ..."
|
||||
|
||||
ckan config-tool $CKAN_INI "ckanext.spatial.common_map.type=Stadia.StamenTerrain"
|
||||
ckan config-tool $CKAN_INI "ckanext.spatial.common_map.max_zoom=18"
|
||||
# forse è da aggiungere un qualche tipo di key per production
|
||||
|
||||
else
|
||||
echo "Not configuring spatial, plugin not enabled."
|
||||
fi
|
Loading…
Reference in New Issue