(mapInfo, layerFilter)
| 254 | } |
| 255 | |
| 256 | _shouldLoadBaseLayer(mapInfo, layerFilter) { |
| 257 | const baseLayer = mapInfo.baseLayer; |
| 258 | if (!baseLayer) { |
| 259 | return false; |
| 260 | } |
| 261 | if (typeof layerFilter === 'function') { |
| 262 | return layerFilter(baseLayer); |
| 263 | } |
| 264 | return true; |
| 265 | } |
| 266 | |
| 267 | async _getScales(mapInfo) { |
| 268 | const baseLayerInfo = mapInfo.baseLayer; |
no outgoing calls
no test coverage detected