()
| 366 | } |
| 367 | |
| 368 | protected updateCoordinateSystemService() { |
| 369 | const { offsetCoordinate = true } = this.config; |
| 370 | // set coordinate system |
| 371 | if ((this.viewport as IViewport).getZoom() > LNGLAT_OFFSET_ZOOM_THRESHOLD && offsetCoordinate) { |
| 372 | this.coordinateSystemService.setCoordinateSystem(CoordinateSystem.LNGLAT_OFFSET); |
| 373 | } else { |
| 374 | this.coordinateSystemService.setCoordinateSystem(CoordinateSystem.LNGLAT); |
| 375 | } |
| 376 | } |
| 377 | } |
nothing calls this directly
no test coverage detected