Hi,
I have a shapefile of points representing settlements. And now I want to render corresponding MapPoint (size and color) depending on population and some financial data.
But it seems like MapPoint data template doesn't have any datacontext. It is actually ModelView that binded to my page root grid. Any suggestions?
<syncfusion:ShapeFileLayer.SubShapeFileLayers>
<syncfusion:SubShapeFileLayer x:Name="sublayer22" ShapeIDPath="OSM_ID" ShapeIDTableField="OSM_ID" ItemsSource="{Binding SettlementFinancialDataList}" LayoutType="Tile" EnableSelection="True" Uri="Shapes.settlements.shp">
<syncfusion:SubShapeFileLayer.MapPointTemplate>
<DataTemplate>
<!--<Ellipse Height="15" Width="15" Margin="-10,-10,0,0" Stroke="White" Fill="#8AC63C"/>-->
<Ellipse Height="{Binding OSM_ID, Converter=...}" Width="{Binding OSM_ID, Converter=...}" Margin="-10,-10,0,0" Stroke="White" Fill="{Binding OSM_ID, Converter=...}"/>
</DataTemplate>
</syncfusion:SubShapeFileLayer.MapPointTemplate>
</syncfusion:SubShapeFileLayer>