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

Method _addOverlay

test/modules/google-maps/mock-maps-api.ts:175–181  ·  view source on GitHub ↗
(overlay)

Source from the content-addressed store, hash-verified

173 }
174
175 _addOverlay(overlay) {
176 this._overlays.add(overlay);
177 overlay.onAdd();
178 if (this.getRenderingType() === RenderingType.VECTOR && overlay.onContextRestored) {
179 overlay.onContextRestored({});
180 }
181 }
182
183 _removeOverlay(overlay) {
184 this._overlays.delete(overlay);

Callers 2

setMapMethod · 0.80
setMapMethod · 0.80

Calls 4

getRenderingTypeMethod · 0.95
onContextRestoredMethod · 0.80
onAddMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected