[ckan-dev] Mapquest and recline_view

McDonaldR McDonaldR at angus.gov.uk
Thu Aug 18 08:21:34 UTC 2016


Hello

You can add the following lines to your development.ini or production.ini file and this will overrule any other settings you may have for background mapping:

ckanext.spatial.common_map.type = custom
ckanext.spatial.common_map.custom.url = http://tile.stamen.com/terrain/{z}/{x}/{y}.png
ckanext.spatial.common_map.attribution = Map tiles by Stamen Design, under CC BY 3.0 Data by OpenStreetMap contributors.

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

Hope that helps

Ross

From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of Bois Francois-Xavier
Sent: 17 August 2016 17:45
To: ckan-dev at lists.okfn.org
Subject: [ckan-dev] Mapquest and recline_view

Hi

I am quite new to CKAN and am wondering if it is possible to avoid the issue with the mapping (cf mapquest discontinued service).

I saw a reference to "//otile{s}-s.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png<http://s.mqcdn.com/tiles/1.0.0/osm/%7bz%7d/%7bx%7d/%7by%7d.png>" in ckanext/reclineview/theme/public/vendor/recline/recline.js but I do not know how I should modify this file.

Best

This message is strictly confidential. If you have received this in error, please inform the sender and remove it from your system. If received in error you may not copy, print, forward or use it or any attachment in any way. This message is not capable of creating a legal contract or a binding representation and does not represent the views of Angus Council. Emails may be monitored for security and network management reasons. Messages containing inappropriate content may be intercepted. Angus Council does not accept any liability for any harm that may be caused to the recipient system or data on it by this message or any attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160818/5984da12/attachment-0003.html>


More information about the ckan-dev mailing list