HydrographicS52DisplayProperties

2309
0
11-12-2014 01:38 AM
EugenReiswich
New Contributor

Hi folks,

as I am very confused about the new forum layout I'll post my question again:

I'm using Runtime .NET SDK 10.2.4. I'm able to create HydrographicS57Layer with the default color scheme. But I can't figure out how to apply HydrographicS52DisplayProperties. Neither the HydrographicS57Layer nor the Map or MapView have appropriate Properties to set. Any help would be highly appreciated.

Eugen

        private HydrographicS57Layer CreateENCLayer(string pathToENC)

        {

            HydrographicS57Layer hydroLayer = new HydrographicS57Layer()

            {

                Path = pathToENC

            };

            HydrographicS52DisplayProperties displayProperties = HydrographicS52DisplayProperties.Default;

            displayProperties.ColorScheme = S52ColorScheme.DayWhiteBack;

            return hydroLayer;

        }

0 Kudos
0 Replies