setZoomAround method

LeafletMap setZoomAround(
  1. LatLng latlng,
  2. double zoom,
  3. ZoomOptions options
)

Zooms the map while keeping a specified geographical point on the map stationary (e.g. used internally for scroll zoom and double-click zoom).

Implementation

external LeafletMap setZoomAround(
    LatLng latlng, double zoom, ZoomOptions options);