# mapboxgl

mapboxgl 是包含 Mapbox GL JS (opens new window) 库中所有类、对象和属性的对象,用作 Mapbox API 的命名空间。

类型 Object (opens new window)

# 属性

更多信息请参阅 Mapbox API (opens new window)

# 示例

const lnglat = new mt3d.mapboxgl.LngLat(139.7143859, 35.6778094);
const marker = new mt3d.Marker().setLngLat(lnglat);
最后更新: 2026/8/5 18:54:23