Allow ol.Overlay positioning option to be a string

This commit is contained in:
Tom Payne
2014-02-06 19:24:49 +01:00
parent 14f40e6f47
commit dc2bb57d18
2 changed files with 3 additions and 2 deletions

View File

@@ -55,7 +55,7 @@
* @property {Element|undefined} element The overlay element.
* @property {ol.Coordinate|undefined} position The overlay position in map
* projection.
* @property {ol.OverlayPositioning|undefined} positioning Positioning.
* @property {ol.OverlayPositioning|string|undefined} positioning Positioning.
* @property {boolean|undefined} stopEvent Whether event propagation to the map
* viewport should be stopped. Default is `true`. If `true` the overlay is
* placed in the same container as that of the controls