Skip to content

Commit

Permalink
Update to vector-tile 1.3.0
Browse files Browse the repository at this point in the history
This release adds a public "id" property to VectorTileFeature: mapbox/vector-tile-js#43
  • Loading branch information
jfirebaugh committed Jul 19, 2016
1 parent 351d800 commit 951927d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/util/vectortile_to_geojson.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ function Feature(vectorTileFeature, z, x, y) {

this.properties = vectorTileFeature.properties;

if (vectorTileFeature._id) {
this.id = vectorTileFeature._id;
if (vectorTileFeature.id) {
this.id = vectorTileFeature.id;
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"supercluster": "^2.0.1",
"unassertify": "^2.0.0",
"unitbezier": "^0.0.0",
"vector-tile": "^1.2.1",
"vector-tile": "^1.3.0",
"vt-pbf": "^2.0.2",
"webworkify": "^1.3.0",
"whoots-js": "^2.0.0"
Expand Down

0 comments on commit 951927d

Please sign in to comment.