s2maps-gpu - v0.18.0
    Preparing search index...

    Function syncMove

    • Sync the camera between multiple maps ex.

      import { syncMove } from 's2maps-gpu/plugins';
      // create multiple maps
      const mapA = new S2Map({ ... });
      const mapB = new S2Map({ ... });
      const mapC = new S2Map({ ... });
      // sync the maps
      await syncMove(mapA, mapB, mapC);

      Parameters

      • ...maps: S2Map[]

        The maps to sync with eachother

      Returns Promise<void>