Skip to content

Commit

Permalink
Parse PBF directly in ol.format.MVT
Browse files Browse the repository at this point in the history
This change also fixes a previous issue, where MultiPolygon geometries for
ol.Feature features were never created.
  • Loading branch information
ahocevar committed Aug 29, 2017
1 parent 4b4f383 commit 3cb5060
Show file tree
Hide file tree
Showing 5 changed files with 347 additions and 157 deletions.
4 changes: 4 additions & 0 deletions doc/errors/index.md
Expand Up @@ -224,3 +224,7 @@ At least 2 conditions are required.
### 58

Duplicate item added to a unique collection. For example, it may be that you tried to add the same layer to a map twice. Check for calls to `map.addLayer()` or other places where the map's layer collection is modified.

### 59

Invalid command found in the PBF. This indicates that the loaded vector tile may be corrupt.
6 changes: 0 additions & 6 deletions package.json
Expand Up @@ -50,7 +50,6 @@
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"temp": "0.8.3",
"@mapbox/vector-tile": "1.3.0",
"walk": "2.3.9"
},
"devDependencies": {
Expand Down Expand Up @@ -148,11 +147,6 @@
{
"module": "pixelworks",
"import": "Processor"
},
{
"module": "@mapbox/vector-tile",
"name": "vectortile",
"import": "VectorTile"
}
]
}

0 comments on commit 3cb5060

Please sign in to comment.