code: def _convert_latitude(self, latitude):
          
          return int((180 - (180 / pi * log(tan(
              pi / 4 + latitude * pi / 360)))) * (2 ** self._zoom) * self._size / 360)
docs: Convert from latitude to the y position in overall map.