Lat lng
This commit is contained in:
@@ -190,6 +190,14 @@ const parseXMPDate = (xmpTag: ExifReader.XmpTag | undefined) => {
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* Parse GPS location from the metadata embedded in the file.
|
||||
*/
|
||||
const parseLocation = (tags: ExifReader.ExpandedTags) => ({
|
||||
Latitude: tags.gps?.Latitude,
|
||||
Longitude: tags.gps?.Longitude,
|
||||
});
|
||||
|
||||
/**
|
||||
* Index Exif in the given {@link EnteFile}.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user