You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The offset in pixels as a [PointLike](https://docs.mapbox.com/mapbox-gl-js/api/geography/#pointlike) object to apply relative to the element's center. Negatives indicate left and up.
-`map` aligns the `Marker` to the plane of the map.
91
91
-`viewport` aligns the `Marker` to the plane of the viewport.
92
92
-`auto` automatically matches the value of `rotationAlignment`.
93
93
94
-
#### `popup`: Popup | null {#popup}
94
+
#### `popup`: Popup | null {#popup}
95
95
96
96
An instance of the `Popup` class ([Mapbox](https://docs.mapbox.com/mapbox-gl-js/api/markers/#popup) | [Maplibre](https://maplibre.org/maplibre-gl-js/docs/API/classes/Popup/)) to attach to this marker. If undefined or null, any popup set on this Marker instance is unset.
97
97
98
-
#### `rotation`: number {#rotation}
98
+
#### `rotation`: number {#rotation}
99
99
100
100
Default: `0`
101
101
102
102
The rotation angle of the marker in degrees, relative to its `rotationAlignment` setting. A positive value will rotate the marker clockwise.
0 commit comments