Set the position to undefined to hide the overlay

This commit is contained in:
Frederic Junod
2015-01-05 14:44:56 +01:00
parent 06fe8288ce
commit d4ff5527c9
3 changed files with 4 additions and 6 deletions

View File

@@ -348,7 +348,8 @@ goog.exportProperty(
/**
* Set the position for this overlay.
* Set the position for this overlay. If the position is `undefined` the
* overlay is hidden.
* @param {ol.Coordinate|undefined} position The spatial point that the overlay
* is anchored at.
* @observable