maptalks / maptalks/maptalks.mapboxgl
现有mapbox地图已经创建(存在),maptalks如何加载现有的mapboxgl,而不是重新创建?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
现有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 ,而不是重新创建?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the maptalks.mapboxgl integration and the Mapbox GL JS Map construction shown in the issue. Clarify whether an existing map instance can be adopted instead of creating another one; the work is done when this supported behavior and its expected lifecycle are defined and demonstrated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100