Summary
Methods:
Constructor
new AdaptPopup(options)
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
Object | 可选项,请参见基类hmap.overlay.Overlay的参数说明。
|
Example
let content = document.createElement("div");
content.textContent = "适配弹框内容";
let location = new hmap.basetype.Coordinate(120.435078, 30.19345, 0);
let adaptPopup = new hmap.overlay.AdaptPopup({
"visible":true,
"domId":"a",
"element":content,
"location":location,
"offset": new hmap.basetype.Offset(10,10)
});