@mapgear/mapengine > OverlayOptions
OverlayOptions interface
Overlay settings
Signature:export interface OverlayOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
offset? | number[] | (Optional) Offsets in pixels used when positioning the overlay. The first element in the array is the horizontal offset. A positive value shifts the overlay right. The second element in the array is the vertical offset. A positive value shifts the overlay down. | |
positioning? | PositionType | string | (Optional) Positioning of the element: 'bottom-left', 'bottom-center', 'bottom-right', 'center-left', 'center-center', 'center-right', 'top-left', 'top-center', and 'top-right' |