pick abstract method

void pick(
  1. MapSceneMapPickFilter? filter,
  2. Rectangle2D viewArea,
  3. MapViewBaseMapPickCallback callback
)

Returns all map content located inside the specified pick area.

Content to be picked is specified by a pick content filter. The pick area is defined by a rectangle in map view coordinates in pixels, relative to the map view's origin at (0, 0) which indicates the top-left corner of the map view.

  • filter Filter for the map content to be picked. When a filter is not set all of the pickable content will be picked.

  • viewArea The rectangular pixel area of the view inside which map content will be picked. View area is relative to the map view's origin at (0, 0) at the top-left corner of the map view.

  • callback Callback to call with the result. This will be called on a main thread when pick operation completes.

Implementation

void pick(MapSceneMapPickFilter? filter, Rectangle2D viewArea, MapViewBaseMapPickCallback callback);