Open mudar opened 8 years ago
suggestion for bounds
, based on mapbox geocoding results
bbox: [
-73.59235849999999,
45.47766699999999,
-73.50131999999999,
45.66372299999999
]
this could also provide the list of supported carshare services
carshare: ['car2go', 'communauto', 'auto-mobile', 'zipcar']
Do we really need both bounds
AND country
/region
/etc ? It would be best to have just one and not both.
Well,
region
is not necessarycountry_code
: used for mapbox searchbbox
: could be used for UI zooming. I also remember that google-places api supported it. Can probably be replaced by ratio, but I feel it's more accurate. So this one is optional
The cities endpoint
GET /v1/cities
could return some extra info, to avoid hard-coding this client-side.Example:
These can be used for search, and sometimes for default city zooming. I think having
country_code
is more important thancountry
region
andregion_code
are just in case@antonino-u any other info you think can be useful?