Since you're setting the map's data source using Bindings
, there is no use to set the map's DataSource, because it wont be taken into consideration. That's why the approach you are using - passing a CSV string as a data source - won't work.
We don't have enough information about your scenario, but it makes sense to use Bindings
to set the nested item's data source if you provide more than one value to be bound. In this case you should create a new class (i.e. WKTData
), which consists of three properties: LocationName
and replace the string field you are using with a populated instance of that class. Then you could use this WKTData instance as a data source for your map.
However, if your scenario includes only one polygon per row, you can add the WKT data as a string field in your main data source and bind the ShapeMapSeries
to that field.
We have prepared another example that shows how to implement the solution suggested above. We hope that it will point you in the right direction.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items