OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
navigation.earth_geolocation_bridge.EarthGeolocationBridge Class Reference

Provide Google Earth with a synthetic geolocation API backed by ORC. More...

Public Member Functions

bool install (self)
 Replace browser geolocation reads with an ORC-owned provider.
 
int|None registration_count (self)
 Return the number of active Earth watchPosition registrations.
 
bool push_position (self, float latitude_deg, float longitude_deg, *float accuracy_m=5.0, float|None heading_deg=None, float|None speed_m_s=None, float|None altitude_m=None)
 Deliver one GeolocationPosition-shaped ORC fix to Google Earth.
 

Detailed Description

Provide Google Earth with a synthetic geolocation API backed by ORC.


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