Move olx.style.AtlasManagerOptions to src/ol/style/AtlasManager

This commit is contained in:
Frederic Junod
2018-03-27 15:15:33 +02:00
parent 7cbc22fece
commit 45ad265849
2 changed files with 10 additions and 34 deletions

View File

@@ -6,6 +6,15 @@ import {UNDEFINED} from '../functions.js';
import Atlas from '../style/Atlas.js';
/**
* @typedef {Object} Options
* @property {number} [initialSize=256] The size in pixels of the first atlas image.
* @property {number} [maxSize] The maximum size in pixels of atlas images. Default is
* `WEBGL_MAX_TEXTURE_SIZE` or 2048 if WebGL is not supported.
* @property {number} [space=1] The space in pixels between images.
*/
/**
* Provides information for an image inside an atlas manager.
* `offsetX` and `offsetY` is the position of the image inside
@@ -47,7 +56,7 @@ const MAX_ATLAS_SIZE = -1;
* @constructor
* @struct
* @api
* @param {olx.style.AtlasManagerOptions=} opt_options Options.
* @param {module:ol/style/AtlasManager~Options=} opt_options Options.
*/
const AtlasManager = function(opt_options) {