selectGeoObject abstract method

void selectGeoObject(
  1. GeoObjectSelectionMetadata selectionMetaData
)

Selects a geo object with the specified objectId in the specified layerId. If the object is not currently on the screen, it is selected anyway, but the user will not actually see that. You need to move the camera in addition to this call to be sure that the selected object is visible for the user. GeoObjectSelectionMetadata can be extracted from the geo object's metadata container when the user taps on a geo object.

Implementation

void selectGeoObject(
    mapkit_map_geo_object_selection_metadata.GeoObjectSelectionMetadata
        selectionMetaData);