YY. PanelControl
面板控件
creation
- constructor(content, [options])
- content {String} HTML文本内容
- opitons {Object} 配置
- position {String} 位置, 'top-left','top-right','bottom-left','bottom-right'
example
js
var panelControl = new YY.PanelControl(
'<div style="width:300px;height:200px">hello world</div>', {
position: {
left: "20px",
top: "400px"
}
}
);
map.addControl(panelControl);