Input Map Configuration
Get the map configuration
Using getMapConfig(...)
function you can get the map configuration object that contains mapState
, mapStyle
, and visState
object properties.
UnfoldedMap.getMapConfig(): Promise<MapConfig>
interface MapConfig {
version: string;
config: {
mapState: any;
mapStyle: any;
visState: any;
};
}
You can click the Get Latest Map Config button to get the latest map configuration, and apply your changes by updating the values in the Text Area input field and clicking the Update Map Config button: