MCPcopy
hub / github.com/visgl/deck.gl / setMap

Method setMap

test/modules/google-maps/mock-maps-api.ts:196–200  ·  view source on GitHub ↗
(map)

Source from the content-addressed store, hash-verified

194 }
195
196 setMap(map) {
197 this.map?._removeOverlay(this);
198 this.map = map;
199 map?._addOverlay(this);
200 }
201
202 getMap() {
203 return this.map;

Callers 7

GoogleMapsDeckOverlayFunction · 0.45
mountFunction · 0.45
componentDidMountMethod · 0.45
DeckGLOverlayFunction · 0.45
app.jsFile · 0.45
renderToDOMFunction · 0.45

Calls 2

_removeOverlayMethod · 0.80
_addOverlayMethod · 0.80

Tested by

no test coverage detected