I need to preload images (.png) / tiles in my own
source: new ol.source.XYZ,which can it run fast to move and zoom in mobile devices.
I used ...libs/ol3/3.7.0/ol-debug.js and as urls: urlArray ..
var urlArray = ["/{z}/{x}/{y}.png"];and tried following parameters to force pre-loading more images than default zoom of map :'buffer','preload'; but nothink helped/worked. As first I minimize the size of every tile, but it helped not too much.
Can be helped to preload images/tiles throught CSS and
div.none {display:none;background-image:url()}or exist any JS function to preload images from my folders /{z}/{x}/{y}.png ?
أكثر...
source: new ol.source.XYZ,which can it run fast to move and zoom in mobile devices.
I used ...libs/ol3/3.7.0/ol-debug.js and as urls: urlArray ..
var urlArray = ["/{z}/{x}/{y}.png"];and tried following parameters to force pre-loading more images than default zoom of map :'buffer','preload'; but nothink helped/worked. As first I minimize the size of every tile, but it helped not too much.
Can be helped to preload images/tiles throught CSS and
div.none {display:none;background-image:url()}or exist any JS function to preload images from my folders /{z}/{x}/{y}.png ?
أكثر...