panBy method

MapboxMap panBy(
  1. Point offset, [
  2. AnimationOptions? options,
  3. dynamic eventData
])

Pans the map by the specified offset.

@memberof MapboxMap# @param offset x and y coordinates by which to pan the map. @param options @param eventData Additional properties to be added to event objects of events triggered by this method. @fires movestart @fires moveend @returns {MapboxMap} this @see Navigate the map with game-like controls

Implementation

MapboxMap panBy(Point offset,
        [AnimationOptions? options, dynamic eventData]) =>
    MapboxMap.fromJsObject(jsObject.panBy(offset.jsObject));