This function can be used to show or hide isolines on the MapView.



bool fsMapViewSetMapIsolinesVisibility(
    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 isolines 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.




Isolines are only visible when in the altitude view (see here for details):

Example Of Isolines Drawn In The Map View



See Also