Skip to content

现有mapbox地图已经创建(存在),maptalks如何加载现有的mapboxgl,而不是重新创建? #19

@theseusyang

Description

@theseusyang

现有mapbox地图已经创建(存在),maptalks如何加载现有的mapboxgl,而不是重新创建?

const map = new mapboxgl.Map({
container: containerMap,
center: [0,0],
zoom: 1,
bearing: 1,
pitch: 1,
interactive: true,
antialias: true,
doubleClickZoom: false
});

map已经创建,

如何用 maptalks去加载 现有的mapboxgl ,而不是重新创建?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions