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

The attribution for all shape 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: {
            shape: {
                attribution: "\u00A9 Company Inc."
            }
        },
        layers: [{
            type: "shape",
            dataSource: {
                type: "geojson",
                data: [{
                    "type": "Polygon",
                    "coordinates": [
                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]
                    ]
                }]
            }
        }]
    });
</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.