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

The attribution of all tile layers. String values are HTML-encoded by default. To render trusted HTML, pass an object with a text property and set encoded: false.

<div id="map"></div>
<script>
    $("#map").kendoMap({
        layerDefaults: {
            tile: {
                attribution: "\u00A9 OpenStreetMap"
            }
        },
        layers: [{
            type: "tile",
            urlTemplate: "https://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png"
        }]
    });
</script>

Specifies whether the attribution text is HTML-encoded. Set to false to render the text as trusted HTML.

Security Warning: Use encoded: false only with trusted content. Rendering unsanitized input can lead to Cross-Site Scripting (XSS) vulnerabilities.

Default: true

The attribution text.