(
        self,
        lon,
        lat,
        zoom,
        )
return (px, py)
Converts lon/lat to pixel coordinates in given zoom of the EPSG:4326 pyramid
Converts lon/lat to pixel coordinates in given zoom of the EPSG:4326 pyramid
Converts lon / lat to pixel coordinates in given zoom of the EPSG : 4326 pyramid
def LonLatToPixels(
        self,
        lon,
        lat,
        zoom,
        ):
        '''Converts lon/lat to pixel coordinates in given zoom of the EPSG:4326 pyramid'''

        res = self.resFact / 2 ** zoom
        px = (180 + lon) / res
        py = (90 + lat) / res
        return (px, py)
def LonLatToPixels ( self , lon , lat , zoom , ) : res = self . resFact / 2 ** zoom px = ( 180 + lon ) / res py = ( 90 + lat ) / res return ( px , py )