How to Pick Map Items on Map View with specified radius

Requirement

Using HERE SDK, you want to tap a location on HERE map and select surrounding items within a specified redius.

Issue

However, when you tap on the screen only the map items on the RIGHT and DOWN area from your tapping point are picked.

For the following example, the area in green are only picked when you tap the areas with check mark but not wrong symbols.



Because each tap creates a search area with the tapped location as its TOP LEFT corner.

Solution

Shift the selection area towards left top to the tapped location:



Now, when you tap on HERE map the search area takes your tapped location as its center, which simulate picking with a radius.

Reference:

How to pick map items from a MapView

Tegs:

HERE SDK
Map Item
Pick Map Item
Pick with Radius
Pick with Rectangle