.toDto(geodesk.getOwner().getGeometry())); mainMap.setMaxBounds(bounds); mainMap.setInitialBounds(bounds); overviewMap.setMaxBounds(bounds); overviewMap.setInitialBounds(bounds); } catch (GeomajasException e) { log.warn("Unable to apply loket territory bounds, falling back to default. {}", .toDto(territory.getGeometry())); mainMap.setMaxBounds(bounds); mainMap.setInitialBounds(bounds); overviewMap.setMaxBounds(bounds); overviewMap.setInitialBounds(bounds);
.toDto(geodesk.getOwner().getGeometry())); mainMap.setMaxBounds(bounds); mainMap.setInitialBounds(bounds); overviewMap.setMaxBounds(bounds); overviewMap.setInitialBounds(bounds); } catch (GeomajasException e) { LOG.warn("Unable to apply loket territory bounds, falling back to default. {}", .toDto(territory.getGeometry())); mainMap.setMaxBounds(bounds); mainMap.setInitialBounds(bounds); overviewMap.setMaxBounds(bounds); overviewMap.setInitialBounds(bounds);