Add a writeStyles option to KML format

This commit is contained in:
Éric Lemoine
2015-11-04 16:59:53 +01:00
parent dc3bf0d04b
commit 5c536aafc7
3 changed files with 49 additions and 4 deletions
+10 -1
View File
@@ -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),