(self, mx, my, zoom)
return px, py
Converts EPSG:900913 to pyramid pixel coordinates in given zoom level
Converts EPSG:900913 to pyramid pixel coordinates in given zoom level
Converts EPSG : 900913 to pyramid pixel coordinates in given zoom level
def MetersToPixels(self, mx, my, zoom):
        "Converts EPSG:900913 to pyramid pixel coordinates in given zoom level"

        res = self.Resolution(zoom)
        px = (mx + self.originShift) / res
        py = (my + self.originShift) / res
        return px, py
def MetersToPixels ( self , mx , my , zoom ) : res = self . Resolution ( zoom ) px = ( mx + self . originShift ) / res py = ( my + self . originShift ) / res return px , py