Wener Notes

mapbox

约 1 分钟阅读
  • Mapbox GL 512x512 pixel tiles
  • Mapbox Raster Tiles 256x256 pixel tiles
TypeScript
export type ViewState = {
  /** Longitude at map center */
  longitude: number;
  /** Latitude at map center */
  latitude: number;
  /** Map zoom level */
  zoom: number;
  /** Map rotation bearing in degrees counter-clockwise from north */
  bearing: number;
  /** Map angle in degrees at which the camera is looking at the ground */
  pitch: number;
  /** Dimensions in pixels applied on each side of the viewport for shifting the vanishing point. */
  padding: PaddingOptions;
};

zoom level

  • 0-22
  • 2zoom×2zoom2^{zoom} \times 2^{zoom}
zoomsee
0地球
3一个大陆
4大岛
6大河
10大路
15建筑

关联信息

反向链接、本文链接的其他页面和外部资料。

References

其他外链1 条
最近更新commit 82c5f3fEdit

On this page