(map, viewportRoot)
| 352 | } |
| 353 | |
| 354 | function _setCanvasPosition(map, viewportRoot) { |
| 355 | const mapOffset = _getMapOffset(map); |
| 356 | viewportRoot.style.left = mapOffset[0] + 'px'; |
| 357 | viewportRoot.style.top = mapOffset[1] + 'px'; |
| 358 | return mapOffset; |
| 359 | } |
| 360 | export const echartsLayer = function (echartsOptions, options) { |
| 361 | return new EchartsLayer(echartsOptions, options); |
| 362 | }; |
no test coverage detected