OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
navigation.earth_input_camera_controller.EarthInputCameraController Class Reference

Drive Google Earth's camera through Chrome DevTools input events. More...

Inherits EarthCameraControllerIf.

Public Member Functions

bool zoom_closest (self)
 Drive Earth toward its closest useful zoom level.
 
bool top_down (self)
 Reset Earth to a zero-pitch top-down view.
 
bool toggle_menu_bar (self)
 Toggle Google Earth's menu bar using its Ctrl+Shift+B shortcut.
 
bool activate_location_tracking (self)
 Activate Earth's location tool, preferring semantic discovery over coordinates.
 
tuple[str,...] location_control_diagnostics (self)
 Return compact accessibility candidates useful when Locate Me cannot be found.
 
bool pan (self, *float up=0.0, float right=0.0)
 Pan using Earth arrow controls with zoom-relative travel.
 
bool tilt (self, float delta_deg)
 Tilt with a small Shift+left-drag step.
 
bool rotate (self, float delta_deg)
 Rotate Earth heading with a horizontal Shift+left-drag.
 
bool apply_preset (self, str name)
 Apply a coarse driving-scale view preset relative to the current view.
 

Protected Member Functions

tuple[float, float]|None _location_control_point (self)
 Resolve a location-like accessibility node to viewport coordinates.
 

Detailed Description

Drive Google Earth's camera through Chrome DevTools input events.


The documentation for this class was generated from the following file: