Frage

I follow the instructions to set up the MapBox Map Widget and set these variables inside my configuration file, but the MapBox map widget only works when I upload and view GeoJSON files, When I upload a csv file and plot the points using latitude and longitude, it still uses the MapQuest Map Widget Base Layer, any idea why that is happening? I thought I'm changing the base layers for all maps by changing these variables. I have also checked to make sure that mapquest isn't defined anywhere in the configuration file.

 ckanext.spatial.common_map.type = mapbox
 ckanext.spatial.common_map.mapbox.map_id = youraccount.map-xxxxxxxx

http://docs.ckan.org/projects/ckanext-spatial/en/latest/map-widgets.html

War es hilfreich?

Lösung

Currently that geo-related plugin does not support map previews of CSV files.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top