Sync the camera between multiple maps ex.
import { syncMove } from 's2maps-gpu/plugins';// create multiple mapsconst mapA = new S2Map({ ... });const mapB = new S2Map({ ... });const mapC = new S2Map({ ... });// sync the mapsawait syncMove(mapA, mapB, mapC); Copy
import { syncMove } from 's2maps-gpu/plugins';// create multiple mapsconst mapA = new S2Map({ ... });const mapB = new S2Map({ ... });const mapC = new S2Map({ ... });// sync the mapsawait syncMove(mapA, mapB, mapC);
The maps to sync with eachother
Sync the camera between multiple maps ex.