Image's GPS information not available when user clicks a pic to upload

时间:2016-09-01 06:21:20

标签: javascript gps exif

I am building a web app where a user can upload an image and from there we get the location of the image by reading the exif data of the same, for achieving the same, I am using this library which is working fine, however when in phone if a user choose the option to use the camera for uploading the pic after clicking it, then we are not receiving the GEO meta data for the image. My file field is as below.

<input type="file" accept="image/*">

0 个答案:

没有答案