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



bool fsMapViewSetVisibility(
    FsContext ctx,
    FsTextureId id,
    bool bVisibility



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.




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


See Also