Skip to content

Commit

Permalink
[docsprint] Clarify meaning of Map#isSourceLoaded (#9589)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianababakanian authored Apr 20, 2020
1 parent 9fd590e commit 410fa94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,8 @@ class Map extends Camera {
}

/**
* Returns a Boolean indicating whether the source is loaded.
* Returns a Boolean indicating whether the source is loaded. Returns `true` if the source with
* the given ID in the map's style has no outstanding network requests, otherwise `false`.
*
* @param {string} id The ID of the source to be checked.
* @returns {boolean} A Boolean indicating whether the source is loaded.
Expand Down

0 comments on commit 410fa94

Please sign in to comment.