Introduce ol.render.Feature
This commit is contained in:
+18
-1
@@ -1686,7 +1686,11 @@ olx.format.EsriJSONOptions.prototype.geometryName;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{geometryName: (string|undefined),
|
||||
* @typedef {{featureClass: (function((ol.geom.Geometry|Object.<string, *>)=)|
|
||||
* function(ol.geom.GeometryType,Array.<number>,
|
||||
* (Array.<number>|Array.<Array.<number>>),Object.<string, *>)|
|
||||
* undefined),
|
||||
* geometryName: (string|undefined),
|
||||
* layers: (Array.<string>|undefined),
|
||||
* layerName: (string|undefined)}}
|
||||
* @api
|
||||
@@ -1694,6 +1698,19 @@ olx.format.EsriJSONOptions.prototype.geometryName;
|
||||
olx.format.MVTOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Class for features returned by {@link ol.format.MVT#readFeatures}. Set to
|
||||
* {@link ol.Feature} to get full editing and geometry support at the cost of
|
||||
* decreased rendering performance. The default is {@link ol.render.Feature},
|
||||
* which is optimized for rendering and hit detection.
|
||||
* @type {undefined|function((ol.geom.Geometry|Object.<string, *>)=)|
|
||||
* function(ol.geom.GeometryType,Array.<number>,
|
||||
* (Array.<number>|Array.<Array.<number>>),Object.<string, *>)}
|
||||
* @api
|
||||
*/
|
||||
olx.format.MVTOptions.prototype.featureClass;
|
||||
|
||||
|
||||
/**
|
||||
* Geometry name to use when creating features. Default is 'geometry'.
|
||||
* @type {string|undefined}
|
||||
|
||||
Reference in New Issue
Block a user