Closed sivalearn12 closed 3 years ago
Hi, i want to create the cell by mentioning the level.
S2Cell cell = new S2Cell(S2LatLng.fromDegrees(0.5, 14.3).toPoint());
S2CellId cellid = cell.id();
cellid.level() // its coming as 30.. is it possible to change the level to 12.
'cellid.parent(12)' should do the trick.
Hi, i want to create the cell by mentioning the level.
S2Cell cell = new S2Cell(S2LatLng.fromDegrees(0.5, 14.3).toPoint());
S2CellId cellid = cell.id();
cellid.level() // its coming as 30.. is it possible to change the level to 12.