# react-amap **Repository Path**: bjblues/react-amap ## Basic Information - **Project Name**: react-amap - **Description**: 基于 React 封装的高德地图组件,帮助你轻松的接入地图到 React 项目中。 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: https://uiw.gitee.io/react-amap - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 45 - **Created**: 2020-09-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README react-amap === [](https://github.com/uiwjs/react-amap/issues) [](https://github.com/uiwjs/react-amap/network) [](https://github.com/uiwjs/react-amap/stargazers) [](https://github.com/uiwjs/react-amap/releases) [](https://www.npmjs.com/package/@uiw/react-amap) [](https://gitee.com/uiw/react-amap) 这是一个基于 React 封装的高德地图组件,帮助你轻松的接入地图到 React 项目中。 文档实例预览: [Github Web](https://uiwjs.github.io/react-amap/) | [Gitee Web](https://uiw.gitee.io/react-amap) ### 特性 - ♻️ 自动加载高德地图 SDK(通过创建 Script 标签的形式加载),包括第三方 SDK。 - 📚 使用 Typescript 编写,集成高德地图 SDK [@type](src/types) 声明文件(包括中文注释)。 - ⚛️ 支持 React Hook 新增特性(需要 React 16.8+)。 - 💝 不依赖任何第三方组件。 ## 安装 > 不依赖 [`uiw`](https://github.com/uiwjs/uiw) 组件库 ```bash npm install @uiw/react-amap --save ``` ## 使用 ```jsx import { Map, APILoader } from '@uiw/react-amap'; const Demo = () => (