Introduce ol.format.MVT

This commit is contained in:
Andreas Hocevar
2015-10-13 14:18:00 +02:00
parent 8f4756c99b
commit 598111b78e
8 changed files with 311 additions and 3 deletions

View File

@@ -1685,6 +1685,40 @@ olx.format.EsriJSONOptions;
olx.format.EsriJSONOptions.prototype.geometryName;
/**
* @typedef {{geometryName: (string|undefined),
* layers: (Array.<string>|undefined),
* layerName: (string|undefined)}}
* @api
*/
olx.format.MVTOptions;
/**
* Geometry name to use when creating features. Default is 'geometry'.
* @type {string|undefined}
* @api
*/
olx.format.MVTOptions.prototype.geometryName;
/**
* Name of the feature attribute that holds the layer name. Default is 'layer'.
* @type {string|undefined}
* @api
*/
olx.format.MVTOptions.prototype.layerName;
/**
* Layers to read features from. If not provided, features will be read from all
* layers.
* @type {Array.<string>|undefined}
* @api
*/
olx.format.MVTOptions.prototype.layers;
/**
* @typedef {{factor: (number|undefined),
* geometryLayout: (ol.geom.GeometryLayout|undefined)}}