index.js
function fromLatFirstString (str) {
  var arr = str.split(',')
  return floatize({lat: arr[0], lon: arr[1]})
}
function fromLatFirstString (str) {
  var arr = str.split(',')
  return floatize({lat: arr[0], lon: arr[1]})
}
function fromLatFirstString ( str ) { var arr = str . split ( ',' ) return floatize ( { lat : arr [ 0 ] , lon : arr [ 1 ] } ) }
Tries to parse from a string where the latitude appears before the longitude.

@memberof conveyal/lonlat
@param  {string} str           A string in the format: `latitude,longitude`
@return {lonlat.types.output}
@throws {lonlat.types.InvalidCoordinateException}
@example
var lonlat = require('@conveyal/lonlat')

var position = lonlat.fromLatFirstString('12,34') // { lon: 34, lat: 12 }
Tries to parse from a string where the latitude appears before the longitude .