# android-map2 **Repository Path**: zhougan/android-map2 ## Basic Information - **Project Name**: android-map2 - **Description**: osmdroid+天地图封装 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-02-11 - **Last Updated**: 2025-12-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # android-map2 #### 介绍 osmdroid+天地图封装 #### 软件架构 软件架构说明 #### 使用说明 ##### 在settings.gradle中添加仓库地址配置 ``` dependencyResolutionManagement{ repositories{ maven { allowInsecureProtocol true url "file:///E:/repositories/public" content { includeGroupByRegex("com\\.zhoug.*") includeGroupByRegex("com\\.heking.*") includeGroupByRegex("zhoug.*") includeGroupByRegex("heking.*") } } } } ``` ##### module的build.gradle中添加依赖 ``` implementation zhoug.android:map:version ``` ##### osmdroid 混淆配置 ``` -keep class org.osmdroid.** { *; } -keep interface org.osmdroid.** { *; } -keep class org.osmdroid.tileprovider.tilesource.** { *; } -dontwarn org.osmdroid.** ``` #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技