23 Commits

Author SHA1 Message Date
Vladimir Agafonkin
4b81485642 modernize (ESM, modern deps, GitHub Actions) 2024-07-10 22:58:17 +03:00
Anand Thakker
a9a91029c0
Fix infinite loop when reading closepath command (#63)
* Fix ininite loop when length goes below 0

* Fix infinite loop

* Add unit test
2018-03-02 19:33:28 -05:00
John Firebaugh
5c453951e1 Make VectorTileFeature#id a public property 2016-07-18 13:57:47 -07:00
John Firebaugh
c16b5c0d59 Classify polygon rings to distinguish inner polygon rings and multipolygons 2016-05-18 11:40:35 -07:00
John Firebaugh
10795be36e Fix coordinates for MultiPoints in toGeoJSON 2016-05-17 16:19:43 -07:00
John Firebaugh
5177aec30b Add approximateDeepEqual function for tests 2016-05-17 16:19:26 -07:00
John Firebaugh
3d15fbae71 Include id in toGeoJSON result
Fixes #40
2015-12-10 10:49:46 -08:00
John Firebaugh
a615643598 Workaround for mapnik-vector-tile bug
https://github.com/mapbox/mapnik-vector-tile/issues/90
https://github.com/mapbox/mapbox-gl-js/issues/1019
2015-06-15 10:49:58 -07:00
John Firebaugh
51d4f30a3f Handle what MultiPoints and MultiLineStrings we can
Upstream: https://github.com/mapbox/vector-tile-spec/issues/30
2015-02-25 11:35:35 -08:00
John Firebaugh
b15016a0e4 Add feature.toGeoJSON(x, y, z) 2015-02-20 21:17:53 -08:00
Vladimir Agafonkin
54f69181cd update pbf to 1.1.1 and fix tests 2014-12-26 15:11:58 +02:00
John Firebaugh
16c29286cc Correctly calculate end of tags (fixes #15) 2014-12-08 19:41:34 -08:00
Vladimir Agafonkin
2258a955e9 fix tests 2014-06-26 18:03:26 +03:00
Christian Schwarz
4df18670f1 Changed tabs to whitespaces 2014-06-24 23:48:30 +02:00
Christian Schwarz
685f27be06 Fixed changing first point of a polygon should not change last point 2014-06-24 23:45:35 +02:00
Tom MacWright
7913946a78 Use pbf in tests 2014-06-24 16:52:17 -04:00
Tom MacWright
875638e557 Test for mapping 2014-06-24 15:22:58 -04:00
Tom MacWright
7f9a295264 Update tests, use point-geometry module 2014-06-24 14:49:23 -04:00
Tom MacWright
e51e61dc3e Expose all classes, not just VectorTile 2014-06-23 17:42:47 -04:00
Tom MacWright
ae1bf526a1 Improve test coverage of null features 2014-06-18 16:34:53 -04:00
Tom MacWright
89bcd55fdb Improve test coverage 2014-06-18 16:03:31 -04:00
Tom MacWright
d254de0844 Switch to tape, add travis and coveralls 2014-06-18 15:59:58 -04:00
Konstantin Käfer
b12f85f981 initial commit 2014-04-12 18:15:36 -04:00