Add a writeStyles option to KML format
This commit is contained in:
+10
-1
@@ -1796,7 +1796,8 @@ olx.format.IGCOptions.prototype.altitudeMode;
|
||||
/**
|
||||
* @typedef {{extractStyles: (boolean|undefined),
|
||||
* defaultStyle: (Array.<ol.style.Style>|undefined),
|
||||
* showPointNames: (boolean|undefined)}}
|
||||
* showPointNames: (boolean|undefined),
|
||||
* writeStyles: (boolean|undefined)}}
|
||||
* @api
|
||||
*/
|
||||
olx.format.KMLOptions;
|
||||
@@ -1826,6 +1827,14 @@ olx.format.KMLOptions.prototype.showPointNames;
|
||||
olx.format.KMLOptions.prototype.defaultStyle;
|
||||
|
||||
|
||||
/**
|
||||
* Write styles into KML. Default is `true`.
|
||||
* @type {boolean|undefined}
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.KMLOptions.prototype.writeStyles;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{featureNS: (Object.<string, string>|string|undefined),
|
||||
* featureType: (Array.<string>|string|undefined),
|
||||
|
||||
Reference in New Issue
Block a user