cyclestreets / mobileweb2011

Mobile HTML client - LEGACY site
https://oldm.cyclestreets.net/
13 stars 2 forks source link

Migrate geocoder to new /v2/geocoder API call #66

Open mvl22 opened 9 years ago

mvl22 commented 9 years ago

The geocoder needs to be migrated to the CycleStreets API V2: https://www.cyclestreets.net/api/v2/geocoder/

at https://github.com/cyclestreets/mobileweb/blob/master/js/cyclestreets.js#L912

mvl22 commented 8 years ago

This is now available.

http://www.cyclestreets.net/api/v2/geocoder/

This brings the key benefit that you can return the full geometries, using geometries=1, so the map can be zoomed in, rather than merely be panned but stay at the same zoom level.