Popup
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
Add a popup on the map.
Parameters
Name | Description | default |
---|---|---|
content | required the content string or HTML string of popup | / |
map | required The map instance to which the marker attaches to | / |
maxWidth | optional number The max width of the popup | 300 |
Methods
Name | Description |
---|---|
open() | open the popup |
close() | close the popup |