microsoft / BingMapsRESTToolkit

This is a portable class library which makes it easy to access the Bing Maps REST services from .NET.

Home Page:https://github.com/Microsoft/BingMapsRESTToolkit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON input is incorrect for non English culture

zhershds opened this issue · comments

JSON input is incorrect for non English culture, for example "de-de".
Method GetPostRequestBody convert double coordinates to string using current culture. It can be the reason that double value can have ',' in string representation instead of '.'. As result distanceMatrixRequest.Execute throws exception "JSON input is incorrect".

Thanks, we actually have an update planned today/tomorrow which includes a fix for this.

The release with this fix is now available.