Closed mourner closed 7 years ago
Also note that we could additionally use zlib
for compression, which will bring the size down to 2.5MB and increase load time to 350ms.
❯ np major
✔ Prerequisite check
✔ Git
✔ Cleanup
✔ Installing dependencies
✔ Running tests
✔ Bumping version
✔ Publishing package
✔ Pushing tags
all-the-cities 2.0.0 published 🎉
Thanks, @mourner! It's an honor to get a PR from a mapboxer. :)
Closes #2.
Size before: 33.6MB, after: 5.3MB. Load time before: 900ms, after: 300ms.
A few breaking changes I did along the way (we could roll back though):
altCountry
,muni
,muniSub
areundefined
instead of an empty string for brevity.featureClass
because it's equal toP
for all objects.cc @zeke