[mapserver-users] mapcache configuration for openlayers XYZ source

Sacha Fouchard sacha.fouchard at gmail.com
Thu Jul 11 05:51:05 PDT 2019


Hi Jeff,
I followed the link you gave and it works perfectly but for
ol.source.tileWMS.
I need to use ol.source.XYZ and get tiles with http://my.server/z/x/y.png
scheme.
In my example, i have a source:
http://{1-4}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png, declared
in openlayers as  ol.source.XYZ <http://ol.source.XYZ>.
In line, no problem. Off line, I really don't know how to cache it. What
could be a simple mapcache configuration? and what url from openlayers?
regards
Sacha



--
Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html


More information about the mapserver-users mailing list