(
        self,
        px,
        py,
        zoom,
        )
return (px, mapSize - py)
Move the origin of pixel coordinates to top-left corner
Move the origin of pixel coordinates to top-left corner
Move the origin of pixel coordinates to top - left corner
def PixelsToRaster(
        self,
        px,
        py,
        zoom,
        ):
        '''Move the origin of pixel coordinates to top-left corner'''

        mapSize = self.tileSize << zoom
        return (px, mapSize - py)
def PixelsToRaster ( self , px , py , zoom , ) : mapSize = self . tileSize << zoom return ( px , mapSize - py )