fsMapViewSetVisibility

This function can be used to show or hide a given MapView. 

 

 

Syntax
bool fsMapViewSetVisibility(
    FsContext ctx,
    FsTextureId id,
    bool bVisibility
    )

 

 

Members
Parameters Description
ctx A value of type FsContext provided as an argument of the gauge callback.
id The MapView render ID as returned by the function fsMapViewCreate.
bVisibility Set to true to make the MapView visible, set to false to make invisible.

 

 

Return Values

Returns false if:

  • no texture matches the given MapView ID
  • the ctx is invalid

Otherwise it will return true.

 

 

Remarks

When a MapView is hidden, it will not be updated.
 

 

See Also