Example #1
0
        /*********
        ** Public methods
        *********/
        /// <summary>Construct an instance.</summary>
        /// <param name="config">The data layer settings.</param>
        public BeeHouseLayer(LayerConfig config)
            : base(I18n.BeeHouses_Name(), config)
        {
            this.Legend = new[]
            {
                this.Covered = new LegendEntry(I18n.Keys.BeeHouses_Range, Color.Green)
            };

            this.RelativeRange = BeeHouseLayer
                                 .GetRelativeCoverage()
                                 .ToArray();
        }