New to Kendo UI for Angular? Start a free 30-day trial

Customizing Map

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-map-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
Font size of the map.
$kendo-map-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
Line height of the map.
$kendo-map-font-familyStringvar( --kendo-font-family, normal )var(--kendo-font-family, normal)
Description
Font family of the map.
$kendo-map-bgStringvar( --kendo-component-bg, transparent )var(--kendo-component-bg, transparent)
Description
Background color of the map.
$kendo-map-textStringvar( --kendo-component-text, inherit )var(--kendo-component-text, inherit)
Description
Text color of the map.
$kendo-map-borderStringif($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 ))var(--kendo-color-border, #8a8886)
Description
Border color of the map.
$kendo-map-border-widthNumber0px0px
Description
Border width of the map.
$kendo-map-heightNumber600px600px
Description
Height of the map.
$kendo-map-navigator-margin-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
Map navigator horizontal margin.
$kendo-map-navigator-margin-yStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
Map navigator vertical margin.
$kendo-map-navigator-paddingStringk-spacing(0.5)var(--kendo-spacing-0\.5, 0.125rem)
Description
Map navigator padding.
$kendo-map-navigator-widthCalculationcalc( var( --kendo-icon-size) * 3 + calc( #{$kendo-map-navigator-padding} * 2) )calc(var(--kendo-icon-size) * 3 + var(--kendo-spacing-0\.5, 0.125rem) * 2)
Description
Map navigator width.
$kendo-map-navigator-heightCalculation$kendo-map-navigator-widthcalc(var(--kendo-icon-size) * 3 + var(--kendo-spacing-0\.5, 0.125rem) * 2)
Description
Map navigator height.
$kendo-map-navigator-border-widthNumber1px1px
Description
Map navigator border width.
$kendo-map-navigator-bgStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
Map navigator background color.
$kendo-map-navigator-textStringif($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 ))var(--kendo-color-on-app-surface, #323130)
Description
Map navigator text color.
$kendo-map-navigator-borderStringif($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 ))var(--kendo-color-border, #8a8886)
Description
Map navigator border color.
$kendo-map-zoom-control-marginStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
Map zoom control margin.
$kendo-map-zoom-control-button-padding-xString$kendo-button-md-padding-yvar(--kendo-spacing-1\.5, 0.375rem)
Description
Map zoom control horizontal padding.
$kendo-map-zoom-control-button-padding-yString$kendo-map-zoom-control-button-padding-xvar(--kendo-spacing-1\.5, 0.375rem)
Description
Map zoom control vertical padding.
$kendo-map-attribution-padding-xString$kendo-padding-sm-xvar(--kendo-spacing-1, 0.25rem)
Description
Map attribution horizontal padding.
$kendo-map-attribution-padding-yString$kendo-padding-sm-yvar(--kendo-spacing-0\.5, 0.125rem)
Description
Map attribution vertical padding.
$kendo-map-attribution-font-sizeCalculationcalc( #{$kendo-map-font-size} * .75 )calc(var(--kendo-font-size, inherit) * 0.75)
Description
Map attribution font size.
$kendo-map-attribution-bgStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
Map attribution background color.
$kendo-map-marker-fillStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
Map marker fill color.

In this article

Not finding the help you need?