(self, pixelSize)
Maximal scaledown zoom of the pyramid closest to the pixelSize.
Maximal scaledown zoom of the pyramid closest to the pixelSize.
Maximal scaledown zoom of the pyramid closest to the pixelSize .
def ZoomForPixelSize(self, pixelSize):
        "Maximal scaledown zoom of the pyramid closest to the pixelSize."

        for i in range(30):
            if pixelSize > self.Resolution(i):
                return i - 1 if i != 0 else 0
def ZoomForPixelSize ( self , pixelSize ) : for i in range ( 30 ) : if pixelSize > self . Resolution ( i ) : return i - 1 if i != 0 else 0