Skip to content

Commit

Permalink
Fix MercatorCoordinate#toLngLat docs (#7580)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhamley authored Nov 9, 2018
1 parent 416f2a7 commit c708474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geo/mercator_coordinate.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ class MercatorCoordinate {
}

/**
* Returns the `LatLng` for the coordinate.
* Returns the `LngLat` for the coordinate.
*
* @returns {LngLat} The `LngLat` object.
* @example
* var coord = new mapboxgl.MercatorCoordinate(0.5, 0.5, 0);
* var latLng = coord.toLatLng(); // LngLat(0, 0)
* var latLng = coord.toLngLat(); // LngLat(0, 0)
*/
toLngLat() {
return new LngLat(
Expand Down

0 comments on commit c708474

Please sign in to comment.