Make auto-labeling of placemark names configurable

This commit is contained in:
Tamar Cohen
2015-10-23 10:10:59 -07:00
committed by Marc Jansen
parent 15c1323ff9
commit 80caaa5399
2 changed files with 30 additions and 12 deletions

View File

@@ -1744,7 +1744,8 @@ olx.format.IGCOptions.prototype.altitudeMode;
/**
* @typedef {{extractStyles: (boolean|undefined),
* defaultStyle: (Array.<ol.style.Style>|undefined)}}
* defaultStyle: (Array.<ol.style.Style>|undefined),
* showPointNames: (boolean|undefined)}}
* @api
*/
olx.format.KMLOptions;
@@ -1758,6 +1759,14 @@ olx.format.KMLOptions;
olx.format.KMLOptions.prototype.extractStyles;
/**
* Show names as labels for placemarks which contain points. Default is `true`.
* @type {boolean|undefined}
* @api stable
*/
olx.format.KMLOptions.prototype.showPointNames;
/**
* Default style. The default default style is the same as Google Earth.
* @type {Array.<ol.style.Style>|undefined}