mirror of https://gitee.com/antv-l7/antv-l7
fix(boundry): fix peer dependencies
This commit is contained in:
parent
303ea17437
commit
8d86be542f
|
@ -46,9 +46,6 @@
|
|||
"lodash": "^4.6.2",
|
||||
"pbf": "^3.2.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@antv/l7": "^2.2.3"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/L7/issues"
|
||||
},
|
||||
|
|
|
@ -766,6 +766,9 @@ export default class Transform {
|
|||
return coord.toLngLat();
|
||||
}
|
||||
|
||||
public getProjectionMatrix(): mat4 {
|
||||
return this.projMatrix;
|
||||
}
|
||||
/**
|
||||
* Calculate the posMatrix that, given a tile coordinate, would be used to display the tile on a map.
|
||||
* @param {UnwrappedTileID} unwrappedTileID;
|
||||
|
@ -952,7 +955,6 @@ export default class Transform {
|
|||
this.worldSize,
|
||||
this.worldSize,
|
||||
]);
|
||||
|
||||
// scale vertically to meters per pixel (inverse of ground resolution):
|
||||
|
||||
mat4.scale(
|
||||
|
|
|
@ -323,7 +323,6 @@ export default class L7MapService implements IMapService<Map> {
|
|||
// mapbox 中固定相机高度为 viewport 高度的 1.5 倍
|
||||
cameraHeight: 0,
|
||||
});
|
||||
|
||||
// set coordinate system
|
||||
if (this.viewport.getZoom() > LNGLAT_OFFSET_ZOOM_THRESHOLD) {
|
||||
this.coordinateSystemService.setCoordinateSystem(
|
||||
|
|
Loading…
Reference in New Issue