pick abstract method
- MapSceneMapPickFilter? filter,
- Rectangle2D viewArea,
- 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.
-
filterFilter for the map content to be picked. When a filter is not set all of the pickable content will be picked. -
viewAreaThe 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. -
callbackCallback 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);