external map tile calculation