Reputation: 21
HERE has a lot of endpoints but I am struggling to find one that will take city name or coordinates and return nearby cities within radius (limited to cities/towns only).
Upvotes: 1
Views: 2838
Reputation: 334
Check out the HERE Reverse Geocoder.
Use parameter level=city&mode=retrieveAreas
See the full doc at https://developer.here.com/documentation/geocoder/topics/resource-reverse-geocode.html
Upvotes: 3
Reputation: 454
You didn't specify the API Product you are using, so I searched a solution for the JS HERE API.
Get Cities
Ref: here
Table 2. Filter by cities around a point location within a radius (all parameters need to be set).
This parameters are mandatory:
{ details: Integer, nearbyMax: Integer, radius: Integer, center: Double }
Upvotes: 2