This example shows how to customize builtin Berlin theme using [Theme] definition mechanism.
NOTE:
This example focuses on Theme customization. Please refer to HelloWorldExample for
introduction how to use MapView
[Theme]s can inherit from another theme by using extends: URL property:
To override features of base theme, properties must be specified as definition in base Theme
like this. For example, park color is defined as parkColor definition like below:
This example shows how to customize builtin
Berlin
theme using [Theme]definition
mechanism.[Theme]s can inherit from another theme by using
extends: URL
property:To override features of base theme, properties must be specified as
definition
in baseTheme
like this. For example, park color is defined asparkColor
definition like below:This definition, is later used in base theme as reference to definition: