Merge pull request #4378 from elemoine/kml-write-styles

Add a writeStyles option to KML format
This commit is contained in:
Éric Lemoine
2015-11-06 11:26:48 +01:00
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),