ckan / ckanext-mapviews

CKAN Resource View to build maps and choropleth maps
26 stars 23 forks source link

I can't see "Navigable Map" and/or "Choropleth Map" chart types views #34

Open jordipiqueres opened 8 years ago

jordipiqueres commented 8 years ago

I have correctly installed CKAN 2.5 version with some plugins and it is running in a production server. Now I wanted to add ckanext-mapviews' extension to configure regular choropleth maps to CKAN.

I have followed the instructions as it is said installing the setup.py and adding choroplethmap to the list in ckan.plugins attribute but I don't see the new Choropleth Map chart type option in the view type's list. I have also checked logs but there is no clue to know what it could be happening.

What can I do to make it works?

sovello commented 8 years ago

Am not sure if you are running this on a localhost, but I have found there to be a conflict between using http://localhost and http://127.0.0.1. It maybe something around that, but the Javascript Console on the browser will give you a clue!

luballe commented 6 years ago

Edit file /usr/lib/ckan/default/lib/python2.7/site-packages/ckanext_mapviews-0.1-py2.7.egg/ckanext/mapviews/theme/public/navigablemap.js

Line 127 // filterFieldsWithResourceKeyField = filterFields.slice(); filterFieldsWithResourceKeyField = [];

xsxVeNxsx commented 4 years ago

Same problem

@luballe not actual. Last version looks like filterFieldsWithResourceKeyField = Array.isArray(filterFields) ? filterFields.slice() : [];

Apache logs empty, so as browser console. Any solutions?

enprava commented 1 year ago

Same problem here. I am using CKAN 2.9.5. Any suggestion?