Skip to main content

@mapgear/mapengine > OverlayOptions > offset

OverlayOptions.offset property

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.

Signature:
offset?: number[];