* Convert a coordinate to address by using default Geocoder * * @param coordinate Coordinate * @param [coordinate.latitude] Latitude * @param [coordinate.longitude] Longitude * * @return Promise with return type Address
(coordinate: LatLng)
| 994 | * @return Promise with return type Address |
| 995 | */ |
| 996 | addressForCoordinate(coordinate: LatLng): Promise<Address> { |
| 997 | if (this.fabricMap.current) { |
| 998 | return this.fabricMap.current.getAddressFromCoordinates(coordinate); |
| 999 | } |
| 1000 | return Promise.reject('getAddress not supported on this platform'); |
| 1001 | } |
| 1002 | |
| 1003 | /** |
| 1004 | * Convert a map coordinate to user-space point |
nothing calls this directly
no test coverage detected