Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: SelectionColor

$
0
0
Hey Dimpflmoser,
Try this as well it looks better than the first suggestion, you can choose one of them

var layer = map1.Layers.SelectedLayer as IMapFeatureLayer;
        IFeatureSet fs = layer.Selection.ToFeatureSet();
        PolygonSymbolizer polySymb = new PolygonSymbolizer(true);
        polySymb.SetFillColor(Color.White);
        polySymb.SetOutline(Color.Pink,1.0);
        polySymb.SetOutlineWidth(2.0d);

        layer.SelectionSymbolizer = polySymb;
Kind Regards
Worlanyo

Viewing all articles
Browse latest Browse all 3973

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>