Classes
Type Definitions
-
PopupOptions{Object}
-
Properties:
Name Type Argument Description titlestring <optional>
Title. If not specified. Element won't be created.
contentstring classNamestring <optional>
Class name for CSS styling. Default empty.
visibleboolean <optional>
Visible or not. Default
false.anchormodule:maplibre-gl~PositionAnchor <optional>
Anchor.
offsetmodule:maplibre-gl~Offset <optional>
Offset. You should change it if Marker icon has different size than default icon.
maxWidthnumber | string <optional>
Max width in pixels. Or
nonevalue, to disable id.closeOnTimenumber <optional>
If > 0, close the popup on the miliseconds specified.