# fsMapViewSetViewMode This function can be used to select a specific view mode for the given MapView.     ##### Syntax ``` wasm bool fsMapViewSetViewMode( FsContext ctx, FsTextureId id, FsMapViewMode eMode ) ```   ##### Members {{< table-wrapper >}} | 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`. | | `eMode` | Sets the mode that is to be used to display the MapView. See the [Remarks](#remarks) below for details. | {{< /table-wrapper >}}   ##### Return Values Returns false if: - no texture matches the given MapView ID - the `ctx` is invalid - the `eMode` input is incorrect Otherwise it will return true.   ##### Remarks The table below shows the available render modes for the MapView: {{< table-wrapper >}} | eModes | Description | |-----------------------------|-----------------------------------------------------------------------------------------------------------| | `FS_MAP_VIEW_MODE_AERIAL` | The MapView will be shown as an aerial view of the landscape. | | `FS_MAP_VIEW_MODE_ALTITUDE` | The MapView will be colored according to altitude (See `fsMapViewSetAltitudeColorList` for more details). | {{< /table-wrapper >}} {{< image-center src="images/6_Programming/WASM/map_view_1_views.png" alt="Examples Of The Different Map Views" >}}