Hi,
How can I change the color of the land mass areas (terrain) on a map? I am working to improve the display for color blind users.
Regards,
Steven
Hi,
How can I change the color of the land mass areas (terrain) on a map? I am working to improve the display for color blind users.
Regards,
Steven
Steven,
Thanks for your questions!
You just talked about the color change for area shape? If that, it is easy to do, please refer the LoadAShapeFileFeatureLayer.cs sample in the HowDoISamples, you can see the following code for setting the color of the area shape file:
You can change the color easily in the CreateSimpleAreaStyle method,there are two parameters to set the color, the first parameter is for fill brush color and the second parameter is for outer line pen color.
worldLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.SimpleColors.Transparent, GeoColor.FromArgb(100, GeoColor.SimpleColors.Green));
If I misunderstood anything please tell me the detail again,
Thanks,
Scott,