private void RemoveSelectedTiledLayerItems(IEnumerable <BaseLayerGroupItem> groups)
 {
     foreach (var group in groups)
     {
         _tsd.RemoveBaseLayerGroup(group.Tag);
     }
     propertiesPanel.Controls.Clear();
     _tiledLayerModel.Invalidate();
 }
Esempio n. 2
0
        /// <summary>
        /// Removes the given base layer group from the Map Definition
        /// </summary>
        /// <param name="map">The map</param>
        /// <param name="group">The group to remove</param>
        public static void RemoveBaseLayerGroup(this ITileSetDefinition map, IBaseMapGroup group)
        {
            Check.ArgumentNotNull(map, nameof(map));
            if (null == group)
            {
                return;
            }

            map.RemoveBaseLayerGroup(group);
        }