Skip to content

Commit

Permalink
Correct setFeatureState error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bfrengley authored and Asheem Mamoowala committed Aug 16, 2018
1 parent 696a50a commit f449162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ class Style extends Evented {
return;
}
if (feature.id == null || feature.id < 0) {
this.fire(new ErrorEvent(new Error(`The feature id parameter must be provided and positive.`)));
this.fire(new ErrorEvent(new Error(`The feature id parameter must be provided and non-negative.`)));
return;
}

Expand Down

0 comments on commit f449162

Please sign in to comment.