You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using the Directions API with GeoCoordinatesLocation fails in Swedish locale #9
In the Swedish locale, floating point numbers use ',' rather than '.'
That means that in the following code from Converter.cs, dots will be replaced by commas, which messes up the URL, and hence NOT_FOUND is returned from Google. Suggest using InvariantCulture or similar.
// Geo coordinates location
if (locationType.InheritsOrImplements(typeof (IGeoCoordinatesLocation)))
{
var coordinates = (IGeoCoordinatesLocation) location;
return $"{coordinates.Latitude},{coordinates.Longitude}";
}
Activity