Beispiel #1
0
        /// <summary>
        /// 删除图层
        /// </summary>
        /// <param name="layerName">图层名称</param>
        public bool RemoveLayer(string layerName)
        {
            if (layerDic.ContainsKey(layerName))
            {
                mapFactory.RemoveLayer(layerName);

                lock (layerDic)
                {
                    layerDic.Remove(layerName);
                }
            }
            return(true);
        }