Spec-Zone.ru › MapLibre GL JS

Offset

Offset = number | PointLike | { [_ in PositionAnchor]: PointLike }

A pixel offset specified as:

  • A single number specifying a distance from the location
  • A PointLike specifying a constant offset
  • An object of PointLikes specifying an offset for each anchor position

Negative offsets indicate left and up.

© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/Offset/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API