tileXToLongitude method
Converts a tile X number at a certain zoom level to a longitude coordinate (left side of the tile).
@param tileX the tile X number that should be converted. @param zoomLevel the zoom level at which the number should be converted. @return the longitude value of the tile X number.
Implementation
@override
double tileXToLongitude(int tileX) {
assert(tileX >= 0);
assert(tileX <= _scalefactor.scalefactor);
double result = (tileX / _scalefactor.scalefactor * 360 - 180);
return result;
//return pixelXToLongitude(tileX * tileSize.toDouble());
}