Tutorial: View.getZoomLevel

View.getZoomLevel

Returns the zoom level of the view

Example

async function getZoomLevel() {
    const view = await fin.View.getCurrent();
    return await view.getZoomLevel();
}

getZoomLevel().then(zoomLevel => console.log(zoomLevel)).catch(err => console.log(err));