前端工作中用到的openlayers相关的公共方法

/** * 获取地图上的图层对象 * @param map 地图对象 * @param layerName 实例化图层时的name * @return {null}*/ getLayerByLayerName: (map, layerName) => { if (!map) { throw new
posted @ 2022-04-24 15:10  cuteyuchen  阅读(264)  评论(0编辑  收藏  举报