BoldDesk®Customer service software with ticketing, live chat & omnichannel support, starting at $99/mo for unlimited agents. Try it for free!
Hi Daniel,
Thank you for contacting Syncfusion support.
When we set the shapeData and dataSource properties in the Maps component for rendering shape map and data labels are enabled, the value which matches the fields in the shapeData and the dataSource property will be visible on the map. Similarly, when we set the “countryCode” in the shapeDataPath and shapePropertyPath properties, the value that matches will be rendered. We are unable to reproduce the reported issue when we change the valuePath of dataLabelSettingsdynamically. However, we have created a simple JavaScript application to demonstrate the same and it can be downloaded from the below link.
https://www.syncfusion.com/downloads/support/forum/163539/ze/Map-171860724
In the above sample, we have rendered a world map with a button. When we click on the button, the shapeDataPath, shapePropertyPath and valuePath of dataLabelSettings will be changed. The labels are rendered fine. Please modify the above sample to reproduce the reported issue. It will be helpful for us to analyze further and assist you better.
Regards,
Swetha Babu