Skip to content

Commit

Permalink
add explainer for null
Browse files Browse the repository at this point in the history
  • Loading branch information
peterqliu committed Jan 9, 2019
1 parent 4a1c76e commit c646648
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/source/source_state.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export type LayerFeatureStates = {[layer: string]: FeatureStates};
* stateChanges and deletedStates batch all changes to the tile (updates and removes, respectively)
* between coalesce() events. addFeatureState() and removeFeatureState() also update their counterpart's
* list of changes, such that coalesce() can apply the proper state changes while agnostic to the order of operations.
* In deletedStates, all null's denote complete removal of state at that scope
* @private
*/
class SourceFeatureState {
Expand Down

0 comments on commit c646648

Please sign in to comment.