google / google/s2-geometry-library-java
Retrieve cell based on shortest distance
Aperta
- Lingua principale
- Java
- Stelle
- 587
- Fork
- 231
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi,
i need to create the cell for list of lat and long and then have to retrieve the cells based on shortest distance or nearby cells.
List S2CellList = new ArrayList();
S2Cell s2cell = new S2Cell(S2LatLng.fromDegrees(lat,long).toPoint());
S2CellList.add(s2cell);
like that i have added the set of cell to list for the list of lat and long. Now i need to show the cell with shortest distance. please guide me in coding.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.