Skip to content

Commit

Permalink
Describe map style object returned by Map#getStyle (#9579)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianababakanian authored Apr 20, 2020
1 parent 6b419c2 commit 73bc120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -1396,9 +1396,9 @@ class Map extends Camera {
}

/**
* Returns the map's Mapbox style object, which can be used to recreate the map's style.
* Returns the map's Mapbox [style](https://docs.mapbox.com/help/glossary/style/) object, a JSON object which can be used to recreate the map's style.
*
* @returns {Object} The map's style object.
* @returns {Object} The map's style JSON object.
*
* @example
* var styleJson = map.getStyle();
Expand Down

0 comments on commit 73bc120

Please sign in to comment.