* Get visible boudaries * * @return Promise Promise with the bounding box ({ northEast: , southWest: })
()
| 927 | * @return Promise Promise with the bounding box ({ northEast: <LatLng>, southWest: <LatLng> }) |
| 928 | */ |
| 929 | async getMapBoundaries(): Promise<BoundingBox> { |
| 930 | if (this.fabricMap.current) { |
| 931 | return this.fabricMap.current.getMapBoundaries(); |
| 932 | } |
| 933 | return Promise.reject('getMapBoundaries not supported on this platform'); |
| 934 | } |
| 935 | |
| 936 | setMapBoundaries(northEast: LatLng, southWest: LatLng) { |
| 937 | if (this.map.current) { |
nothing calls this directly
no test coverage detected