This page is used to showcase how we validate map configuration object before creating the map. |
This map will will load with default configuration because none is provided.
Configuration Snippet:
This map will load with bad configuration replaced with default.
Configuration Snippet:
This map will load with bad configuration replaced with default.
Configuration Snippet:
This map will not load layers with bad configuration and inform the user.
Configuration Snippet:
This map loads it's configurations from the URL parameters by providing data-shared. If data-config is provided then it will override all loaded config from parameters.
Configuration Snippet:
This map loads it's configurations from a file by providing data-config-url
Configuration Snippet:
This map loads it's configurations from a function call
Configuration Snippet: