OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
ui.navigation.map_platform_if.MapPlatformControlIf Class Reference

Select a map platform without exposing browser or process access. More...

Public Member Functions

None request_retry (self)
 Retry a failed map launch after its underlying problem is resolved.
MapPlatformState state (self)
 Return an immutable presentation snapshot.
None request_platform (self, MapPlatform platform)
 Request another map platform.
None request_chase (self)
 Select Earth's close oblique follow view.
None request_camera (self, ExplorationCameraAction action)
 Apply a relative camera action to the active exploration surface.
None request_follow (self, bool enabled)
 Enable vehicle following on the exploration surface; await a live fix if needed.
None request_layer (self, MapLayerAction action)
 Toggle an available layer, or cycle its terrain height multiplier.
None resize (self, int width, int height, int owner_window_id)
 Update native host geometry.
None close (self)
 Cancel map work and release owned resources.

Detailed Description

Select a map platform without exposing browser or process access.

Member Function Documentation

◆ request_camera()

None ui.navigation.map_platform_if.MapPlatformControlIf.request_camera ( self,
ExplorationCameraAction action )

Apply a relative camera action to the active exploration surface.

Parameters
actionRelative camera movement or view adjustment.

◆ request_follow()

None ui.navigation.map_platform_if.MapPlatformControlIf.request_follow ( self,
bool enabled )

Enable vehicle following on the exploration surface; await a live fix if needed.

Parameters
enabledWhether vehicle-follow mode should be active.

◆ request_layer()

None ui.navigation.map_platform_if.MapPlatformControlIf.request_layer ( self,
MapLayerAction action )

Toggle an available layer, or cycle its terrain height multiplier.

Parameters
actionLayer visibility toggle or terrain height cycle.

◆ request_platform()

None ui.navigation.map_platform_if.MapPlatformControlIf.request_platform ( self,
MapPlatform platform )

Request another map platform.

Parameters
platformDesired map platform.

◆ resize()

None ui.navigation.map_platform_if.MapPlatformControlIf.resize ( self,
int width,
int height,
int owner_window_id )

Update native host geometry.

Parameters
widthHost width in pixels.
heightHost height in pixels.
owner_window_idPersistent shell window for detaching a warm client.

◆ state()

MapPlatformState ui.navigation.map_platform_if.MapPlatformControlIf.state ( self)

Return an immutable presentation snapshot.

Returns
Current map state.

The documentation for this class was generated from the following file:
  • ui/navigation/map_platform_if.py