Coordinate POI search and selection independently of any frontend. More...
Inherits ABC.
Public Member Functions | |
| None | search (self, PoiCategory category, TransitMode transit_mode=TransitMode.ALL) |
| Request discovery of nearby places, optionally filtering public transit. | |
| PointOfInterest|None | poll_selected (self) |
| Return the latest selected POI, if one is available. | |
| bool | poll_camera_interaction (self) |
| Consume a manual map gesture when supported by the source. | |
| PoiSearchResult|None | poll_search_result (self) |
| Return the latest completed POI search result, if available. | |
| None | clear (self) |
| Clear active POI search presentation. | |
| None | close (self) |
| Release resources owned by the controller. | |
Coordinate POI search and selection independently of any frontend.
| bool poi.poi_search_controller_if.PoiSearchControllerIf.poll_camera_interaction | ( | self | ) |
Consume a manual map gesture when supported by the source.
| PoiSearchResult | None poi.poi_search_controller_if.PoiSearchControllerIf.poll_search_result | ( | self | ) |
Return the latest completed POI search result, if available.
| PointOfInterest | None poi.poi_search_controller_if.PoiSearchControllerIf.poll_selected | ( | self | ) |
Return the latest selected POI, if one is available.
| None poi.poi_search_controller_if.PoiSearchControllerIf.search | ( | self, | |
| PoiCategory | category, | ||
| TransitMode | transit_mode = TransitMode.ALL |
||
| ) |
Request discovery of nearby places, optionally filtering public transit.
| category | POI category to discover. |
| transit_mode | Transit subtype filter for transit searches. |