Add new olx.format.KMLOptions#extractStyles property
This commit is contained in:
@@ -1211,12 +1211,20 @@ olx.format.IGCOptions.prototype.altitudeMode;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{defaultStyle: (Array.<ol.style.Style>|undefined)}}
|
||||
* @typedef {{extractStyles: (boolean|undefined),
|
||||
* defaultStyle: (Array.<ol.style.Style>|undefined)}}
|
||||
* @api
|
||||
*/
|
||||
olx.format.KMLOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Extract styles from the KML. Default is `true`.
|
||||
* @type {boolean|undefined}
|
||||
*/
|
||||
olx.format.KMLOptions.prototype.extractStyles;
|
||||
|
||||
|
||||
/**
|
||||
* Default style. The default default style is the same as Google Earth.
|
||||
* @type {Array.<ol.style.Style>|undefined}
|
||||
@@ -3300,6 +3308,7 @@ olx.source.MapGuideOptions.prototype.params;
|
||||
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
|
||||
* defaultStyle: (Array.<ol.style.Style>|undefined),
|
||||
* doc: (Document|undefined),
|
||||
* extractStyles: (boolean|undefined),
|
||||
* logo: (string|olx.LogoOptions|undefined),
|
||||
* node: (Node|undefined),
|
||||
* projection: ol.proj.ProjectionLike,
|
||||
@@ -3332,6 +3341,13 @@ olx.source.KMLOptions.prototype.defaultStyle;
|
||||
olx.source.KMLOptions.prototype.doc;
|
||||
|
||||
|
||||
/**
|
||||
* Extract styles from the KML document. Default is `true`.
|
||||
* @type {boolean|undefined}
|
||||
*/
|
||||
olx.source.KMLOptions.prototype.extractStyles;
|
||||
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
|
||||
Reference in New Issue
Block a user