List of usage examples for com.google.common.geometry S2CellId toLatLng
public S2LatLng toLatLng()
From source file:com.norman0406.slimgress.API.Common.Location.java
public Location(long cellId) { S2CellId cell = new S2CellId(cellId); S2LatLng pos = cell.toLatLng(); latitude = pos.lat().e6();//from w ww.java2 s .com longitude = pos.lng().e6(); }