javascript - Convert a string with function calls to an array -
i need convert function call simple array[] it's not working reason.
here's fiddle
var longcombinedready = $('#geoimagelat').val(exifobject.gpslatitude + "," + "'" + exifobject.gpslatituderef + "'") var latcombinedready = exifobject.gpslongitude + "," + "'" + exifobject.gpslongituderef + "'" //an attemp take values , convert them array doesn't work. var longcombined = [longcombinedready]; var latcombined = [latcombinedready]; i've commented out in fiddle here's image geocoords if don't have 1 testing.
basically read images geotag , convert tag dms dd can used google maps.
there 3 problems:
- you missing
applyin line 49 - you
applying array 1 item being string while function applying expects 4 parameters - at line 43
longcombinedreadyjquery object
Comments
Post a Comment