updated to recalculate the quadtree when the user pans the map