MCPcopy Create free account
hub / github.com/facebook/Rapid / gotNote

Method gotNote

modules/core/MapSystem.js:786–791  ·  view source on GitHub ↗
(note)

Source from the content-addressed store, hash-verified

784 }
785
786 const gotNote = (note) => {
787 scene.enableLayers('notes');
788 const selection = new Map().set(note.id, note);
789 context.enter('select', { selection: selection });
790 this.centerZoomEase(note.loc, 19);
791 };
792
793 let note = osm.getNote(noteID);
794 if (note) {

Callers

nothing calls this directly

Calls 3

centerZoomEaseMethod · 0.95
enableLayersMethod · 0.80
enterMethod · 0.45

Tested by

no test coverage detected