MapPopup
Extends:
leaflet~L.Popup → MapPopup
用于在地图上弹出信息框
Example:
var popup = new KQ.Map.MapPopup({
  offset: new KQ.Struct.Point(0, -30),
});
popup.setLatLng(new KQ.Struct.LatLng(30, 104));
popup.setContent('Hello world!');
mapView.openPopup(popup);Constructor Summary
| Public Constructor | ||
| public | constructor(options: Object) 构造函数 | |
Method Summary
| Public Methods | ||
| public | addToMapView(mapview: MapView): Null 添加到mapview | |
| public | remove(): Null 从地图移除 | |
| public | setContent(htmlContent: String): Null 设置html内容 | |
| public | 设置弹出框弹出的地理点坐标 | |
 Reference
  Source
  
  Reference
  Source
  
  