Pokemon-GO-node-api
Pokemon-GO-node-api copied to clipboard
What is a S2CellId and how big is the range that will be scanned (in meters)?
Hi,
looking in the poke.io.js and I have no Idea what a S2CellId is and how big the range is, which will be scanned (in meters)?
In what radius in meters does this api show wild pokemons for a single hearbeat request?
Thanks
Best predator747
A S2Cell is a representation of a zone on the earth surface. Currently a single heartbeat is made from the LatLng -> S2CellId + neighbors. (Check in the code) The distance covered may vary depending on the Cell shape and your own position inside the shape.
Representing 4 CellIds:
Use s2map.com to visualize them if wanted.
Hi,
thanks for the explanation :)
Best predator747