Skip to main content

setMapThemeInverted

FitFileViewer - API Documentation v29.8.0


FitFileViewer - API Documentation / utils/theming/specific/createMapThemeToggle / setMapThemeInverted

Function: setMapThemeInverted()

setMapThemeInverted(inverted: boolean): void

Defined in: utils/theming/specific/createMapThemeToggle.js:217

Sets the map theme preference

Parameters​

inverted​

boolean

Whether map should use dark theme (true) or light theme (false)

Returns​

void