Hi Luigi,
Thank you for contacting Syncfusion support.
You cannot refer more than one value for valuePath property of Maps. If you want to use more than one value of data source for the tooltip, you can use format or template property.
For example, in your case you can use format property like this.
Code snippet:
var tooltip = new MapsTooltipSettings
{
Visible = true,
ValuePath="City",
Format="${City} : ${IP}"
};
|
For the tooltip template, please refer the below code snippet.
Code snippet:
var tooltip = new MapsTooltipSettings
{
Visible = true,
ValuePath="City",
Template="<div> ${City} : ${IP}</div>"
};
|
You can refer all the data source properties in tooltip using template and format properties.
We have created a sample to demonstrate this. Please find the below link for your reference.
Please let us know if you need any further assistance.
Regards,
Manikandan T