Replace ol.overlay.Overlay with ol.AnchoredElement
This commit adds several features: - rename of class to better reflect its behaviour - full ol.Object support - integration with postrender event for integration with animations and render loop - minimised DOM modifications - more precise positioning - element placed in DIV to avoid modifications to user-supplied element - correctly handle changes to the positioning property
This commit is contained in:
@@ -51,11 +51,11 @@
|
||||
@exportObjectLiteralProperty ol.layer.LayerOptions.source ol.source.Source
|
||||
@exportObjectLiteralProperty ol.layer.LayerOptions.visible boolean|undefined
|
||||
|
||||
@exportObjectLiteral ol.overlay.OverlayOptions
|
||||
@exportObjectLiteralProperty ol.overlay.OverlayOptions.coordinate ol.Coordinate|undefined
|
||||
@exportObjectLiteralProperty ol.overlay.OverlayOptions.element Element|undefined
|
||||
@exportObjectLiteralProperty ol.overlay.OverlayOptions.map ol.Map|undefined
|
||||
@exportObjectLiteralProperty ol.overlay.OverlayOptions.positioning Array.<string>|undefined
|
||||
@exportObjectLiteral ol.AnchoredElementOptions
|
||||
@exportObjectLiteralProperty ol.AnchoredElementOptions.element Element|undefined
|
||||
@exportObjectLiteralProperty ol.AnchoredElementOptions.map ol.Map|undefined
|
||||
@exportObjectLiteralProperty ol.AnchoredElementOptions.position ol.Coordinate|undefined
|
||||
@exportObjectLiteralProperty ol.AnchoredElementOptions.positioning ol.AnchoredElementPositioning|undefined
|
||||
|
||||
@exportObjectLiteral ol.source.BingMapsOptions
|
||||
@exportObjectLiteralProperty ol.source.BingMapsOptions.culture string|undefined
|
||||
|
||||
Reference in New Issue
Block a user