我需要将这个函数调用转换为一个简单的array[],但是由于某种原因它不能工作。
这是小提琴
var LongCombinedReady = $('#GeoImageLat').val(exifObject.GPSLatitude + "," + "'" + exifObject.GPSLatitudeRef + "'")
var LatCombinedReady = exifObject.GPSLongitude + "," + "'" + exifObject.GPSLongitudeRef + "'"
//an attemp to take the values and convert them to an array but it doesn't work.
var LongCombined = [LongCombinedReady];
var LatCombined = [LatCombinedReady];我已经在小提琴中评论了这一切,如果你没有一个用于测试的,这里还有一个与GeoCoords有关的图片。
测试地标图像
基本上,我读取图片地理标签,然后将标签从DMS转换为DD,这样它就可以用于像Google地图这样的东西。
发布于 2015-05-31 19:08:40
有三个问题:
applyapplying数组,其中一个项是字符串,而您要应用到的函数需要4个参数。LongCombinedReady是一个jQuery对象https://stackoverflow.com/questions/30561354
复制相似问题