New to Kendo UI for AngularStart a free 30-day trial

Customizing Map

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-map-border-widthNumber0px0px
Description
The border width of the Map.
$kendo-map-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the Map.
$kendo-map-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Map.
$kendo-map-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Map.
$kendo-map-bgString$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the Map.
$kendo-map-textString$kendo-component-textvar(--kendo-color-on-app-surface, #3d3d3d)
Description
The text color of the Map.
$kendo-map-borderString$kendo-component-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description
The border color of the Map.
$kendo-map-navigator-marginStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The margin of the Map navigator.
$kendo-map-navigator-paddingStringk-spacing(0.5)var(--kendo-spacing-0\.5, 0.125rem)
Description
The padding of the Map navigator.
$kendo-map-navigator-widthCalculationcalc( calc( #{$kendo-icon-size} * 3 ) + calc( #{$kendo-map-navigator-padding} * 2 ) )calc(16px * 3 + var(--kendo-spacing-0\.5, 0.125rem) * 2)
Description
The width of the Map navigator.
$kendo-map-navigator-heightCalculation$kendo-map-navigator-widthcalc(16px * 3 + var(--kendo-spacing-0\.5, 0.125rem) * 2)
Description
The height of the Map navigator.
$kendo-map-navigator-border-widthNumber1px1px
Description
The border width of the Map navigator.
$kendo-map-zoom-control-marginStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The margin of the Map zoom control.
$kendo-map-zoom-control-button-padding-xString$kendo-button-padding-yvar(--kendo-spacing-1, 0.25rem)
Description
The horizontal padding of the Map zoom control.
$kendo-map-zoom-control-button-padding-yString$kendo-map-zoom-control-button-padding-xvar(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the Map zoom control.
$kendo-map-attribution-padding-xString$kendo-padding-sm-xvar(--kendo-spacing-1, 0.25rem)
Description
The horizontal padding of the Map attribution.
$kendo-map-attribution-padding-yString$kendo-padding-sm-yvar(--kendo-spacing-0\.5, 0.125rem)
Description
The vertical padding of the Map attribution.
$kendo-map-attribution-font-sizeCalculationcalc( #{$kendo-map-font-size} * .75)calc(var(--kendo-font-size, inherit) * 0.75)
Description
The font size of the Map attribution.
$kendo-map-attribution-bgStringif($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 80%, transparent), rgba( $kendo-map-bg, .8 ))color-mix(in srgb, var(--kendo-color-app-surface, #ffffff) 80%, transparent)
Description
The background color of the Map attribution.
$kendo-map-marker-fillString$kendo-color-primaryvar(--kendo-color-primary, #ff6358)
Description
The fill color of the Map marker.
In this article
VariablesSuggested Links
Not finding the help you need?
Contact Support