# fsMapViewSetWeatherRadarClearColor This function can be used to set the clear color of weather radar maps in the horizontal ([`FS_MAP_VIEW_WEATHER_RADAR_MODE_HORIZONTAL`](../fsmapviewsetweatherradarmode/#remarks)) and vertical ([`FS_MAP_VIEW_WEATHER_RADAR_MODE_VERTICAL`](../fsmapviewsetweatherradarmode/#remarks)) modes. The clear color is displayed outside of the weather radar cone. By default, the clear color is set to black. For alpha blending information, see [Remarks](#remarks). ##### Syntax ``` wasm bool fsMapViewSetWeatherRadarClearColor( FsContext ctx, FsTextureId id, FsColor color ); ``` ##### 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`](../fsmapviewcreate/). | | `color` | The clear color to set. | {{< /table-wrapper >}} ##### Return Values Returns `false` if: - no texture matches the given MapView ID - the `ctx` is invalid Otherwise it will return `true`. ##### Remarks In order to get correct alpha blending (for clear colors with alpha values different than 0 and 1), the map view must be created with the [`FS_RENDER_IMAGE_PREMULTIPLIED`](../fsmapviewcreate/#remarks) image flag.