leaflet加入该插件后 原先使用geojson的图层缩放会漂移
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
leaflet加入该插件后 原先使用geojson的图层缩放会漂移
测试代码如下
```
fetch("https://geo.datav.aliyun.com/areas_v3/bound/100000_full.json")
.then((res) => res.json())
.then((data) => {
console.log(data);
L.geoJSON(data, {
style: {
fillColor: "transparent",
weight: 3,
opacity: 1,
color: "#D4C486",
fillOpacity: 1,
},
}).addTo(map);
});
```
已在官方codesandbox和本地测试过了
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported behavior with the provided fetch URL and L.geoJSON example in the official CodeSandbox or a local setup. Compare map zoom behavior before and after adding the plugin; done means the GeoJSON layer remains aligned while zooming.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100