Skip to content

Commit

Permalink
indicate that LngLatBounds parameters are optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd committed Oct 7, 2016
1 parent be80bec commit 604803b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/geo/lng_lat_bounds.js
Expand Up @@ -15,8 +15,8 @@ var LngLat = require('./lng_lat');
* This flexible type is documented as [`LngLatBoundsLike`](#LngLatBoundsLike).
*
* @class LngLatBounds
* @param {LngLatLike} sw The southwest corner of the bounding box.
* @param {LngLatLike} ne The northeast corner of the bounding box.
* @param {LngLatLike} [sw] The southwest corner of the bounding box.
* @param {LngLatLike} [ne] The northeast corner of the bounding box.
* @example
* var sw = new mapboxgl.LngLat(-73.9876, 40.7661);
* var ne = new mapboxgl.LngLat(-73.9397, 40.8002);
Expand Down

0 comments on commit 604803b

Please sign in to comment.