Page 1 of 1

Ifinite scroll / Load tiles on pan

PostPosted: Tue Jan 24, 2017 9:44 pm
by kunipferd

I try to set up an infinite tilemap, that reloads tile contents when you pan the map around - like google maps.

this is a very basic example on how far i got with trying myself using the examples:

no i need somehow to send current bounding box coors to the server and check there what to load. I am paning the camera around here not the tilemap am I right? So I gues i detect when the edge of the map is coming into view or something like that?

I am not sure of the best approach and wanted to ask if there are some out of the box functions to achieve this before I cook it myself.