extend method

LngLatBounds extend(
  1. dynamic obj
)

Extend the bounds to include a given LngLat or LngLatBounds.

@param {LngLat|LngLatBounds} obj object to extend to @returns {LngLatBounds} this

Implementation

LngLatBounds extend(dynamic obj) =>
    LngLatBounds.fromJsObject(jsObject.extend(obj.jsObject));