()
| 565 | } |
| 566 | |
| 567 | resizeEvent() { |
| 568 | this.mapContainer.style.perspective = this.map.transform.cameraToCenterDistance + 'px'; |
| 569 | var canvas = this.map.getCanvas(); |
| 570 | this.div.style.width = canvas.style.width; |
| 571 | this.div.style.height = canvas.style.height; |
| 572 | this.div.width = parseInt(canvas.width); |
| 573 | this.div.height = parseInt(canvas.height); |
| 574 | this.renderer.resize(); |
| 575 | } |
| 576 | |
| 577 | /** |
| 578 | * @function ThemeLayer.prototype.removeFromMap |
no test coverage detected