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...

Inherits Protocol.

Public Member Functions

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 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_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: