Edit this page

layers.titleField String (default: "title")

The data item field which contains the marker title. Requires the dataSource option to be set.

Example - bind marker title

<div id="map"></div>
        layers: [{
            type: "marker",
            locationField: "latlng",
            titleField: "text",
            dataSource: {
                data: [{
                    latlng: [0, 0],
                    text: "POI"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article