TrailRouter / public-issues

3 stars 0 forks source link

Geocoding lat/lng is reversed #42

Open samcrawford opened 4 years ago

samcrawford commented 4 years ago

Unusual use case... If you put "37.8976, -84.3936" into the search box, it geocodes it to Antarctica rather than the US. This is because the search is made against Mapbox and this is what they return. Needs a change to recognise that a lat/lng has been entered, and either (1) swap the values before sending them to Mapbox, or (2) don't send them at all, just use them directly.