-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception thrown Requested value 'Unknown' was not found bing geocoder and bounds #98
Comments
I managed to fix the problem. It has to do with:
basically what's happening is the whole url gets incoded and the longitude latitude coordinates get messed up so the request never brings back the results we want. here's an example of a request url that's messed up by the urlencoder: /REST/v1/Locations?q=29+E+ST%2C+K8H+2N7)&userLocation=45.322079%2C+-75.668253&userMapView=44.0626490070541%2C+-78.23151953125%2C47.0320948847828%2C+-74.103400390625&inclnb=1&key=TOPSECRET here's the correct one: /REST/v1/Locations?q=29%20EAST%20ST%2CK8H%202N7&userMapView=44.0626490070541,-78.23151953125,47.0320948847828,-74.103400390625&inclnb=1&key=TOPSECRETE I will post a complete rewrite I just finished with UserRegion support for anyone who's interested |
|
you'll need this, was a pain to write but makes things easier :)
|
and this was even more of a pain:
|
and this:
|
and apologies about posting code on here, it's just that i'm not familiar with forks and github and all that fun stuff. Not my thing |
Thanks for the writeup. Please consider opening a PR if you fixed a bug. Here is a tutorial on how to open the PR if you are not familiar. |
cool, thanks for the link :) |
when specifying the usermapview bounds, here is the exception that is thrown:
The text was updated successfully, but these errors were encountered: