canZoom

external fun canZoom(zoomLevel: Int, xy: Xy): Boolean

Check if it is possible to zoom at a specified zoom level.

Return

True if the zoom is possible; false if is not possible.

Parameters

zoomLevel

Zoom level.

xy

Screen coordinates under which map should keep position. The coordinates are relative to the view's parent screen.