private static PointSymbolizer CreatePointSymbolizer(PointStyle style)
        {
            var symbolizer = new PointSymbolizer(style.Color, MapDataHelper.Convert(style.Symbol), style.Size);

            symbolizer.SetOutline(style.StrokeColor, style.StrokeThickness);
            return(symbolizer);
        }
Beispiel #2
0
 private static IFeatureCategory CreateCategory(LineStyle style)
 {
     return(new LineCategory(style.Color,
                             style.Color,
                             style.Width,
                             MapDataHelper.Convert(style.DashStyle),
                             LineCap.Round));
 }
Beispiel #3
0
 protected override IFeatureSymbolizer CreateSymbolizer(MapLineData mapData)
 {
     return(new LineSymbolizer(mapData.Style.Color,
                               mapData.Style.Color,
                               mapData.Style.Width,
                               MapDataHelper.Convert(mapData.Style.DashStyle),
                               LineCap.Round));
 }