This function can be used to set the texture resolution for the given MapView.

 

 

Syntax
bool fsMapViewSetVisibility(
    FsContext ctx,
    FsTextureId id,
    unsigned uSizeX,
    unsigned uSizeY
    )

 

Members
ParametersDescription
ctxA value of type FsContext provided as an argument of the gauge callback.
idThe MapView render ID as returned by the function fsMapViewCreate.
uSizeXThe size of the texture along the X axis, in pixels. Must not exceed 2048px.
uSizeYThe size of the texture along the Y axis, in pixels. Must not exceed 2048px.

 

Return Values
  • Returns false if:
  • no texture matches the given MapView ID
  • the ctx is invalid
  • the uSizeX/Y values are invalid

Otherwise it will return true.

 

Remarks

N/A