Skip to content

Commit 4f61ad8

Browse files
committed
【SDK】【Mapbox】【修改二维图元大小】
1 parent 6d01c05 commit 4f61ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mapboxgl/overlay/fabric/PlotMapCoordSys.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ PlotMapCoordSys.prototype.pointToData = function pointToData(pt) {
4545
PlotMapCoordSys.prototype.getScale = function getScale() {
4646
let n=this.m_mapboxMap.getZoom()
4747

48-
return 256* Math.pow(2,n+1);
48+
return 1024 * Math.pow(2,n+1);
4949
};
5050

5151
/**

0 commit comments

Comments
 (0)