Extract EXIF and JFIF tags from images in-browser.
exifExtract(data, function(err, result) {
if (err) throw err;
if (result.position) {
map.setView(result.position, 13);
}
});
Uses jDataView and works well with the HTML5 Drag & Drop API. Requires FileReader and ArrayBuffer APIs.
Adapted from the implementation described and used by Flickr.