Ignore semantic map requests. More...
Public Member Functions | |
| None | request_follow (self, bool enabled) |
| Enable or disable automatic map following. | |
| None | request_recenter (self) |
| Recenter the map on the latest known follow position. | |
| None | request_center_on (self, GeoPoint position) |
| Center the map on a geographic position. | |
| None | request_pan (self, float north_m, float east_m) |
| Pan the map by geographic offsets. | |
| None | request_pan_screen (self, float right_px, float up_px) |
| Request a camera pan in screen-relative pixels. | |
| None | request_zoom (self, float zoom_level) |
| Set the requested map zoom level. | |
| None | request_bearing (self, float bearing_rad) |
| Set the requested map bearing. | |
| None | request_pitch (self, float pitch_rad) |
| Set the requested map camera pitch. | |
| None | request_poi_focus (self, str|None category) |
| Highlight a semantic POI category or clear the focus. | |
| None | request_poi_results (self, tuple[MapMarker,...] markers, str category) |
| Replace the dynamic nearby-POI marker set without changing the camera. | |
| None | request_style (self, str style_id) |
| Select the active map style. | |
Ignore semantic map requests.
| None ui.navigation.map_request_handler_stub.MapRequestHandlerStub.request_bearing | ( | self, | |
| float | bearing_rad | ||
| ) |
Set the requested map bearing.
| bearing_rad | Clockwise map bearing in radians. |
Reimplemented from ui.navigation.map_request_handler_if.MapRequestHandlerIf.
| None ui.navigation.map_request_handler_stub.MapRequestHandlerStub.request_center_on | ( | self, | |
| GeoPoint | position | ||
| ) |
Center the map on a geographic position.
| position | Geographic position to place at the map center. |
Reimplemented from ui.navigation.map_request_handler_if.MapRequestHandlerIf.
| None ui.navigation.map_request_handler_stub.MapRequestHandlerStub.request_follow | ( | self, | |
| bool | enabled | ||
| ) |
Enable or disable automatic map following.
| enabled | True to follow the current position; False for manual camera control. |
Reimplemented from ui.navigation.map_request_handler_if.MapRequestHandlerIf.
| None ui.navigation.map_request_handler_stub.MapRequestHandlerStub.request_pan | ( | self, | |
| float | north_m, | ||
| float | east_m | ||
| ) |
Pan the map by geographic offsets.
| north_m | Northward offset in meters. |
| east_m | Eastward offset in meters. |
Reimplemented from ui.navigation.map_request_handler_if.MapRequestHandlerIf.
| None ui.navigation.map_request_handler_stub.MapRequestHandlerStub.request_pan_screen | ( | self, | |
| float | right_px, | ||
| float | up_px | ||
| ) |
Request a camera pan in screen-relative pixels.
| right_px | Horizontal screen offset in pixels, positive to the right. |
| up_px | Vertical screen offset in pixels, positive upward. |
Reimplemented from ui.navigation.map_request_handler_if.MapRequestHandlerIf.
| None ui.navigation.map_request_handler_stub.MapRequestHandlerStub.request_pitch | ( | self, | |
| float | pitch_rad | ||
| ) |
Set the requested map camera pitch.
| pitch_rad | Camera pitch in radians. |
Reimplemented from ui.navigation.map_request_handler_if.MapRequestHandlerIf.
| None ui.navigation.map_request_handler_stub.MapRequestHandlerStub.request_poi_focus | ( | self, | |
| str | None | category | ||
| ) |
Highlight a semantic POI category or clear the focus.
| category | Semantic POI category to highlight, or None to clear focus. |
Reimplemented from ui.navigation.map_request_handler_if.MapRequestHandlerIf.
| None ui.navigation.map_request_handler_stub.MapRequestHandlerStub.request_poi_results | ( | self, | |
| tuple[MapMarker, ...] | markers, | ||
| str | category | ||
| ) |
Replace the dynamic nearby-POI marker set without changing the camera.
| markers | Dynamic POI markers to present. |
| category | Semantic POI category represented by the markers. |
Reimplemented from ui.navigation.map_request_handler_if.MapRequestHandlerIf.
| None ui.navigation.map_request_handler_stub.MapRequestHandlerStub.request_style | ( | self, | |
| str | style_id | ||
| ) |
Select the active map style.
| style_id | Identifier of the map style to activate. |
Reimplemented from ui.navigation.map_request_handler_if.MapRequestHandlerIf.
| None ui.navigation.map_request_handler_stub.MapRequestHandlerStub.request_zoom | ( | self, | |
| float | zoom_level | ||
| ) |
Set the requested map zoom level.
| zoom_level | MapLibre-compatible zoom level. |
Reimplemented from ui.navigation.map_request_handler_if.MapRequestHandlerIf.