-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(geojsonSource): fill data with empty FeatureCollection
It seems that source.setData don't do anything if the source if empty. This fix handle cases when you create a source without immediate data.
- Loading branch information
Wykks
committed
Nov 14, 2017
1 parent
3b1b08a
commit a8df1cd
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters