-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
bugSomething isn't workingSomething isn't working
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 () => (
<LarkMap {...larkmapOptions} style={{ height: "300px" }}>
<Marker
onClick={() => alert(88)}
lngLat={{ lng: 120.104735, lat: 30.261121 }}
></Marker>
</LarkMap>
);
mapType设置为Gaode或者Baidu都正常,但是设置成Tencent就不行
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working