()
| 242 | let Overlay: BMapECExtendedOverlayCtor; |
| 243 | |
| 244 | function createOverlayCtor(): BMapECExtendedOverlayCtor { |
| 245 | function Overlay(this: BMapECExtendedOverlay, root: HTMLElement) { |
| 246 | this._root = root; |
| 247 | } |
| 248 | |
| 249 | Overlay.prototype = new BMap.Overlay(); |
| 250 | |
| 251 | /** |
| 252 | * @override |
| 253 | */ |
| 254 | Overlay.prototype.initialize = function (this: BMapECExtendedOverlay, map: bmapLib.Map): HTMLElement { |
| 255 | map.getPanes().labelPane.appendChild(this._root); |
| 256 | return this._root; |
| 257 | }; |
| 258 | /** |
| 259 | * @override |
| 260 | */ |
| 261 | Overlay.prototype.draw = function () {}; |
| 262 | |
| 263 | return Overlay as BMapECExtendedOverlayCtor; |
| 264 | } |
| 265 | |
| 266 | BMapCoordSys.create = function (ecModel, api) { |
| 267 | let bmapCoordSys: BMapCoordSys; |
no test coverage detected
searching dependent graphs…