/// <summary> /// 删除所有图层 /// </summary> /// <returns></returns> public bool RemoveAllLayer() { var ret = mapFactory.RemoveAllLayer(); lock (layerDic) { layerDic.Clear(); } return(ret); }