Skip to content

Commit

Permalink
feat: 添加腾讯地图
Browse files Browse the repository at this point in the history
  • Loading branch information
syb01094648 committed Mar 11, 2024
1 parent 9cbf457 commit 9476fed
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/app-map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,17 @@ export const AppMap: React.FC<AppMapProps> = ({ children }) => {
// ...baseMapOptions,
};
}
if (baseMap === 'Tencent') {
return {
...baseMapOptions,
};
}
return {
...GaodeConfig,
...baseMapOptions,
};
}, [baseMap, baseMapOptions]);

console.log(mapOptions)

return (
<LarkMap
className={styles.l7EditorMap}
Expand Down

0 comments on commit 9476fed

Please sign in to comment.