Parse PBF directly in ol.format.MVT

This change also fixes a previous issue, where MultiPolygon geometries for
ol.Feature features were never created.
This commit is contained in:
Andreas Hocevar
2017-08-28 19:05:10 +02:00
parent 4b4f383043
commit 3cb5060497
5 changed files with 364 additions and 174 deletions
+4
View File
@@ -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.