I don't know that it applies directly to your current needs, but there is a wiki page outlining specific steps to enable OpenLayers + MapCache at https://ms4w.com/trac/wiki/MapCacheOpenLayers

-jeff




--
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/



On 2019-07-10 10:12 AM, Sacha Fouchard wrote:
Dear mapserver users,
I am pretty new with mapcache configuration and try without success to manage an openlayers 4 ol.source.XYZ <http://ol.source.XYZ> cache. Url I need to cache is: http://{1-4}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png <http://basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png>
This is working in openlayers directly.
For a mapcache use, what would be the simplest mapcache.xml configuration?

For ol.source.TileWMS, i fallowed mapcache configuration example and it works prefectly.

Best regards for all of you.


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to