Singleton class. Available through ol.style.iconImageCache
.
Methods
-
setSize(maxCacheSize)
src/ol/style/iconimagecache.js, line 103 -
Set the cache size of the icon cache. Default is
32
. Change this value when your map uses more than 32 different icon images and you are not caching icon styles on the application level.Name Type Description maxCacheSize
number Cache max size.