模板版本:v0.4.2

react-native-maps

本项目基于 react-native-maps 开发。

三方库名称 三方库版本(npm地址) 发布信息 支持RN版本 Autolink 编译API版本 社区基线版本 源码地址
@react-native-ohos/react-native-maps ~1.26.0 (开发中) Gitcode Releases 0.84.* API12+ 1.29.0 master
@react-native-ohos/react-native-maps ~1.25.0 (开发中) Gitcode Releases 0.82.* API12+ 1.27.2 br_rnoh0.82
@react-native-ohos/react-native-maps ~1.24.4 Gitcode Releases 0.77.* API12+ 1.24.3 br_rnoh0.77
@react-native-ohos/react-native-maps ~1.10.4 Gitcode Releases 0.72.* API12+ 1.10.3 br_rnoh0.72
@react-native-oh-tpl/react-native-maps <= 1.10.3-0.1.4@deprecated Github Releases 0.72.* API12+ 1.10.3 sig

简介

react-native-maps 是一个用于 React Native 的地图组件库,提供跨平台的地图展示与交互能力。
支持地图展示(标准/卫星/地形)、标记点(Marker)、折线(Polyline)、多边形(Polygon)、圆形覆盖物(Circle)、自定义样式、地图截图等功能。

下载安装

进入到工程目录并输入以下命令:

npm

npm install @react-native-ohos/react-native-maps

yarn

yarn add @react-native-ohos/react-native-maps