[mapserver-users] mapcache configuration for openlayers XYZ source
Sacha Fouchard
sacha.fouchard at gmail.com
Thu Jul 11 01:20:53 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
<http://basemaps.cartocdn.com/dark_nolabels/%7Bz%7D/%7Bx%7D/%7By%7D.png>,
declared in openlayers as ol.source.XYZ <http://ol.source.xyz/> <
http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190711/caeab6e0/attachment.htm>
More information about the MapServer-users
mailing list