MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / _isSameRasterLayer

Method _isSameRasterLayer

src/common/mapping/WebMapV2.js:3112–3114  ·  view source on GitHub ↗
(sourceId, sourceInfo)

Source from the content-addressed store, hash-verified

3110 }
3111
3112 _isSameRasterLayer(sourceId, sourceInfo) {
3113 return isSameRasterLayer(sourceInfo, this.map.getSource(sourceId));
3114 }
3115
3116 _centerValid(center) {
3117 if (center && (center.length > 0 || typeof center === mapRepo.LngLat || center.lng)) {

Callers 2

_addBaselayerMethod · 0.95
_addLayerMethod · 0.95

Calls 2

isSameRasterLayerFunction · 0.90
getSourceMethod · 0.45

Tested by

no test coverage detected