expo-gaode-map 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -18
- package/docs/INITIALIZATION.md +0 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
- ✅ 同时支持声明式组件和命令式 API
|
|
17
17
|
- ✅ 跨平台支持(Android、iOS)
|
|
18
18
|
- ✅ 支持自定义样式和事件监听
|
|
19
|
+
- ✅ 同时支持 React Native 新旧架构(Paper & Fabric)
|
|
19
20
|
|
|
20
21
|
## 📦 安装
|
|
21
22
|
|
|
@@ -525,22 +526,6 @@ const clearAll = async () => {
|
|
|
525
526
|
};
|
|
526
527
|
```
|
|
527
528
|
|
|
528
|
-
### 权限配置
|
|
529
|
-
|
|
530
|
-
在 `app.json` 中配置定位权限(Android):
|
|
531
|
-
|
|
532
|
-
```json
|
|
533
|
-
{
|
|
534
|
-
"expo": {
|
|
535
|
-
"android": {
|
|
536
|
-
"permissions": [
|
|
537
|
-
"ACCESS_FINE_LOCATION",
|
|
538
|
-
"ACCESS_COARSE_LOCATION"
|
|
539
|
-
]
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
```
|
|
544
529
|
|
|
545
530
|
### 颜色格式
|
|
546
531
|
|
|
@@ -580,10 +565,18 @@ MIT
|
|
|
580
565
|
- [Expo Modules API](https://docs.expo.dev/modules/overview/)
|
|
581
566
|
- [GitHub 仓库](https://github.com/yourusername/expo-gaode-map)
|
|
582
567
|
|
|
568
|
+
## 🙏 致谢
|
|
569
|
+
|
|
570
|
+
本项目在开发过程中参考了以下优秀项目,特此致谢:
|
|
571
|
+
|
|
572
|
+
- **[react-native-amap3d](https://github.com/qiuxiang/react-native-amap3d)** - 一个优秀的 React Native 高德地图组件,为本项目的设计和实现提供了重要参考
|
|
573
|
+
|
|
574
|
+
感谢这些开源项目的贡献者们,他们的工作为社区带来了宝贵的经验和代码。
|
|
575
|
+
|
|
583
576
|
## 📮 反馈与支持
|
|
584
577
|
|
|
585
578
|
如果你在使用过程中遇到问题或有任何建议,欢迎:
|
|
586
579
|
|
|
587
|
-
- 📝 提交 [GitHub Issue](https://github.com/
|
|
588
|
-
- 💬 参与 [Discussions](https://github.com/
|
|
580
|
+
- 📝 提交 [GitHub Issue](https://github.com/TomWq/expo-gaode-map/issues)
|
|
581
|
+
- 💬 参与 [Discussions](https://github.com/TomWq/expo-gaode-map/discussions)
|
|
589
582
|
- ⭐ 给项目点个 Star 支持一下
|
package/docs/INITIALIZATION.md
CHANGED
|
@@ -222,13 +222,6 @@ export default function App() {
|
|
|
222
222
|
|
|
223
223
|
## 常见问题
|
|
224
224
|
|
|
225
|
-
### Q: 为什么首次安装时地图显示白屏?
|
|
226
|
-
|
|
227
|
-
**A:** 这个问题已在最新版本中修复。确保:
|
|
228
|
-
1. 使用最新版本的 expo-gaode-map
|
|
229
|
-
2. 按照推荐的初始化流程操作
|
|
230
|
-
3. 在权限授予后,地图会自动应用新的位置
|
|
231
|
-
|
|
232
225
|
### Q: 如何处理用户拒绝权限的情况?
|
|
233
226
|
|
|
234
227
|
**A:** 提供默认位置并引导用户:
|