Add earcut to package.json and wrap it in ol.ext

Earcut is a library for triangulating polygons.
See https://github.com/mapbox/earcut.
This commit is contained in:
Guillaume Beraudo
2015-04-01 13:48:32 +02:00
committed by GaborFarkas
parent c8d35e4fb0
commit 8bdbe7aae0

View File

@@ -34,6 +34,7 @@
"browserify": "13.1.1",
"closure-util": "1.15.1",
"derequire": "2.0.3",
"earcut": "^1.4.2",
"fs-extra": "1.0.0",
"glob": "7.1.1",
"handlebars": "4.0.6",
@@ -123,6 +124,7 @@
"module": "vector-tile",
"name": "vectortile",
"browserify": true
}
},
"earcut"
]
}