Skip to content

Commit

Permalink
fix formatting for Map#addControl
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd committed Dec 6, 2016
1 parent dabc509 commit 4bd608b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/ui/map.js
Expand Up @@ -215,8 +215,8 @@ class Map extends Camera {
* Adds a [`IControl`](#IControl) to the map, calling `control.onAdd(this)`.
*
* @param {IControl} control The [`IControl`](#IControl) to add.
* @param {string} [position='top-right'] position on the map to which the control will be added.
* valid values are 'top-left', 'top-right', 'bottom-left', and 'bottom-right'
* @param {string} [position] position on the map to which the control will be added.
* Valid values are `'top-left'`, `'top-right'`, `'bottom-left'`, and `'bottom-right'`. Defaults to `'top-right'`.
* @returns {Map} `this`
* @see [Display map navigation controls](https://www.mapbox.com/mapbox-gl-js/example/navigation/)
*/
Expand Down

0 comments on commit 4bd608b

Please sign in to comment.