mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
* ol-pmtiles 0.1.1; fix shape of reading tile data from getZxy [#225] * update ol raster example [#225]
This commit is contained in:
@@ -56,7 +56,7 @@ export class PMTilesVectorSource extends VectorTile {
|
||||
if (tile_result) {
|
||||
const format = tile.getFormat();
|
||||
tile.setFeatures(
|
||||
format.readFeatures(tile_result.data.buffer, {
|
||||
format.readFeatures(tile_result.data, {
|
||||
extent: extent,
|
||||
featureProjection: projection,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user