Skip to content

Commit d3a55bc

Browse files
committed
[fix]矢量瓦片大小问题 review by songym
1 parent 3db5aa0 commit d3a55bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/openlayers/mvtvectorlayer_mbstyle_beijing.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@
230230
format: new ol.format.MVT({
231231
featureClass: ol.Feature
232232
}),
233+
tileGrid:ol.tilegrid.createXYZ({tileSize:512}),
233234
tileType: 'ViewBounds'
234235
};
235236
vectorLayer = new ol.layer.VectorTile({

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy