Re: [mapserver-users] mapcache configuration for openlayers XYZ source

2019-07-11 Thread Sacha Fouchard
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 .
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
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] mapcache configuration for openlayers XYZ source

2019-07-11 Thread Sacha Fouchard
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
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] mapcache configuration for openlayers XYZ source

2019-07-10 Thread Sacha Fouchard
Dear mapserver users,
I am pretty new with mapcache configuration and try without success to
manage an openlayers 4  ol.source.XYZ cache.
Url I need to cache is: http://{1-4}.
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