Tooltip
A newer version of Maps for web SDK is available
A newer version of the SDK is available and is recommended for all users. Learn about the latest version, V2.0, in the Maps for web v2.0 documentation
Attach a tooltip to a marker.
Parameters
| Name | Description | default |
|---|---|---|
| content | required the content string of tooltip | / |
| marker | required The marker instance to which the tooltip attaches to | / |
| maxWidth | optional number The max width of the tooltip | 300 |
Methods
| Name | Description |
|---|---|
| open() | open the tooltip |
| close() | close the tooltip |