globalmapper.GetOnlineLayerZoomScale ==================================== .. currentmodule:: globalmapper .. py:function:: GetOnlineLayerZoomScale (GM_LayerHandle_t32 aLayer, GM_Rectangle_t aWorldBounds, GM_PixelRect_t aPixelRect, bool aForExport, str aExtraOpts, int aReserved) -> GM_Error_t32, uint32 Determine the zoom scale that will be used to draw/export from a provided tiled online layer for a given bounds. :param GM_LayerHandle_t32 aLayer: Tiled online layer to query :param GM_Rectangle_t aWorldBounds: World bounds to convert from or None for last drawn :param GM_PixelRect_t aPixelRect: Pixel bounds to convert from or None for last drawn :param bool aForExport: Get zoom scale for an export (TRUE) or draw (FALSE) :param str aExtraOpts: str with extra options, like RES_MULT :param int aReserved: Reserved for future use; must be 0. :returns: Error Code :rtype: GM_Error_t32 :return: Zoom scale that will be used :rtype: uint32