antvis / antvis/LarkMap

🐛 [BUG]腾讯地图下Marker的点击事件不生效,高德跟百度的都行

Open
#242 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
87
Forks
34
PR merge metrics
No merged PRs in 30d

Description

## 代码如下
```
import type { LarkMapProps } from "@antv/larkmap";
import { LarkMap, Marker } from "@antv/larkmap";
import React from "react";

const larkmapOptions: LarkMapProps = {
mapType: "Tencent",
mapOptions: { center: [120.104735, 30.261121], zoom: 10 },
};

export default () => (

alert(88)}
lngLat={{ lng: 120.104735, lat: 30.261121 }}
>

);
```
mapType设置为Gaode或者Baidu都正常,但是设置成Tencent就不行

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the example with LarkMap using mapType "Tencent", then compare the same Marker onClick behavior with the Gaode and Baidu settings. Trace the Tencent map integration and Marker event handling; done means clicking the Tencent marker triggers the alert as it does for the other providers.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.