Introduce ol.format.MVT
This commit is contained in:
@@ -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)}}
|
||||
|
||||
Reference in New Issue
Block a user