This plugin offers utility functions for interacting with jpeg exif metadata
npm install @capacitor-community/exif
npx cap sync
setCoordinates(options: SetCoordinatesOptions) => Promise<void>
Set the coordinates to the image EXIF metadata.
Param | Type |
---|---|
options |
SetCoordinatesOptions |
Since: 6.0.0
getCoordinates(options: GetCoordinatesOptions) => Promise<{ lat: number; lng: number; } | undefined>
Set the coordinates to the image EXIF metadata.
Param | Type |
---|---|
options |
GetCoordinatesOptions |
Returns: Promise<{ lat: number; lng: number; }>
Since: 6.0.0
Prop | Type | Description | Since |
---|---|---|---|
pathToImage |
string |
The path to the image to set the coordinates to the EXIF metadata. | 6.0.0 |
lat |
number |
The latitude of the image. | 6.0.0 |
lng |
number |
The longitude of the image. | 6.0.0 |
Prop | Type | Description | Since |
---|---|---|---|
pathToImage |
string |
The path to the image to set the coordinates to the EXIF metadata. | 6.0.0 |