(origin)
| 841 | return Math.abs(+num1 - +num2) <= precision; |
| 842 | } |
| 843 | _isSameOrigin(origin) { |
| 844 | const extent = this.map.getCRS().getExtent(); |
| 845 | return this.numberEqual(origin[0], extent[0]) && this.numberEqual(origin[1], extent[3]); |
| 846 | } |
| 847 | _isSameResolutions(resolutions, tileSize, mapTileSize = 512) { |
| 848 | const mapResolutions = this._getMapResolutions(); |
| 849 | const conversion = mapTileSize / tileSize; |
no test coverage detected