Fixes #2 by using the external module mapbox-gl-sync-move, which fixes a bug in the sync implementation here. (That module is also being used in Studio now.)
A couple of other housekeeping things seemed necessary to get the example working and this PR right:
I added a .gitignore file.
I modified the npm start script slightly.
I pulled the CSS out into style.css, which gets copied into dist/ and example/ as needed on start and build. I think this also makes some sense so you don't end up manually modifying files in the dist/ directory.
Fixes #2 by using the external module mapbox-gl-sync-move, which fixes a bug in the sync implementation here. (That module is also being used in Studio now.)
A couple of other housekeeping things seemed necessary to get the example working and this PR right:
.gitignore
file.npm start
script slightly.style.css
, which gets copied intodist/
andexample/
as needed onstart
andbuild
. I think this also makes some sense so you don't end up manually modifying files in thedist/
directory.