Specific 2D options
AutoPan options object.
Holds options to define autopan behaviour for popups displaying when they overlap the borders of the map.
Properties:
| Name | Type | Argument | Default | Description |
|---|---|---|---|---|
| autoPan | Boolean |
<optional> |
true | If true, then autoPan is activated. |
| duration | Number |
<optional> |
250 | Duration (in ms) of autoPan animation when autoPan is set to true. |
| margin | Number |
<optional> |
5 | Size (in px) of the space between the border of the map and the border of the popup when autoPan is set to true and occurs. |
