some notes about tiles
This commit is contained in:
parent
41e34b3654
commit
43cdd633f0
4
README
4
README
@ -121,6 +121,7 @@ https://git.syndicate-lang.org/tonyg/squeak-phone/raw/commit/474960ddc665ed445a1
|
|||||||
|
|
||||||
we need to extend to multiple tiles'-worth of map
|
we need to extend to multiple tiles'-worth of map
|
||||||
|
|
||||||
|
|
||||||
* get tile for curent lat/long and request overpass data for enough
|
* get tile for curent lat/long and request overpass data for enough
|
||||||
surrounding tiles to fill the screen
|
surrounding tiles to fill the screen
|
||||||
|
|
||||||
@ -133,9 +134,8 @@ them if the come up again
|
|||||||
* to get it centred on the cyclist, take the tile fractional part *
|
* to get it centred on the cyclist, take the tile fractional part *
|
||||||
256, and translate the canvas up and left by that amount
|
256, and translate the canvas up and left by that amount
|
||||||
|
|
||||||
|
* add a cache of [x,y,z] -> polylines so that we don't keep hitting overpass
|
||||||
|
|
||||||
|
|
||||||
and offset
|
|
||||||
by
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user