panTo method
Pans the map to the specified location, with an animated transition.
@memberof MapboxMap#
@param lnglat The location to pan the map to.
@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
Implementation
MapboxMap panTo(LngLat lnglat,
[AnimationOptions? options, dynamic eventData]) =>
MapboxMap.fromJsObject(jsObject.panTo(lnglat.jsObject));