All Projects → wshunli → arcgis-android-moremap

wshunli / arcgis-android-moremap

Licence: Apache-2.0 license
基于 ArcGIS for Android 加载高德/百度/腾讯等切片底图

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to arcgis-android-moremap

awesome-arcgis
La mayor recopilación (Wiki) de recursos sobre ArcGIS que encontrarás (organizado por productos, conceptos, ...)
Stars: ✭ 21 (-44.74%)
Mutual labels:  arcgis, arcgis-runtime-sdk
Moss
A GitHub client app developed with Flutter, which supports Android iOS Web. More feature: BaiduMap+Amap UI+DiDi+Weibo!
Stars: ✭ 76 (+100%)
Mutual labels:  baidumap, amap
utility-network-swagger
Utility Network REST API expressed in Swagger / Open API Specification, code samples
Stars: ✭ 27 (-28.95%)
Mutual labels:  arcgis
react-native-s-baidumap
百度地图 React Native ,同时支持ios和android
Stars: ✭ 28 (-26.32%)
Mutual labels:  baidumap
esri-polymer
A set of Esri web components built using the Polymer library
Stars: ✭ 14 (-63.16%)
Mutual labels:  arcgis
react-amap
基于 React 封装的高德地图组件,助你轻松的接入高德地图到 React 项目中。
Stars: ✭ 73 (+92.11%)
Mutual labels:  amap
AmapLike
【高仿】高德地图 包含定位、搜索、路径规划等功能 map bottomsheet
Stars: ✭ 51 (+34.21%)
Mutual labels:  amap
AnimatedEnvironmentLayer
A custom arcgis js api layer to display GRIB data formatted as json as animated particles on a canvas
Stars: ✭ 41 (+7.89%)
Mutual labels:  arcgis
archook
Searches the system for arcgis and makes arcpy available to python (regardless of pythonpath/system path/registry settings)
Stars: ✭ 76 (+100%)
Mutual labels:  arcgis
OptimizeRasters
OptimizeRasters is a set of tools for converting raster data to optimized Tiled TIF or MRF files, moving data to cloud storage, and creating Raster Proxies.
Stars: ✭ 105 (+176.32%)
Mutual labels:  arcgis
WhiteboxTools-ArcGIS
ArcGIS Python Toolbox for WhiteboxTools
Stars: ✭ 190 (+400%)
Mutual labels:  arcgis
AuGeo
AuGeo - Augmented Reality for ArcGIS
Stars: ✭ 36 (-5.26%)
Mutual labels:  arcgis
easypoi
简单、免费、高效的百度地图poi采集和分析工具。
Stars: ✭ 87 (+128.95%)
Mutual labels:  baidumap
ng-sunPawd
基于ng-zorro实现的Angular后台基础框架
Stars: ✭ 43 (+13.16%)
Mutual labels:  baidumap
cordova-plugin-amap
Amap Maps plugin for Cordova
Stars: ✭ 51 (+34.21%)
Mutual labels:  amap
portal-admin-examples
Example python scripts for working with the ArcGIS REST API.
Stars: ✭ 17 (-55.26%)
Mutual labels:  arcgis
Course ArcGIS Python
Course on ArcGIS automation through scripting with Python
Stars: ✭ 27 (-28.95%)
Mutual labels:  arcgis
GISPython
Additional tools for administering and automating different ArcPy and ArcGIS Server geoprocessing operations. Package is intended for use with ArcGIS 10.2.1 and later (has been tested on ArcGIS 10.2.2, 10.3.1, 10.6.1).
Stars: ✭ 20 (-47.37%)
Mutual labels:  arcgis
Hajk
A modern, full-featured OpenLayers based map viewer and editor
Stars: ✭ 65 (+71.05%)
Mutual labels:  arcgis
sy flutter amap
高德地图flutter插件
Stars: ✭ 13 (-65.79%)
Mutual labels:  amap

arcgis-android-moremap

Download Build Status Author GitHub license

基于 ArcGIS for Android 加载高德/百度/腾讯等切片底图

准备

使用之前需添加 ArcGIS for Android 依赖:

repositories {
    jcenter()
    // Add the Esri public Bintray Maven repository
    maven {
        url 'https://esri.bintray.com/arcgis'
    }
}
dependencies {
    // Add ArcGIS Runtime SDK for Android dependency
    compile 'com.esri.arcgis.android:arcgis-android:10.2.9'
}

排除重复依赖:

packagingOptions {
    exclude 'META-INF/LGPL2.1'
    exclude 'META-INF/LICENSE'
    exclude 'META-INF/NOTICE'
}

声明权限:

<uses-feature android:glEsVersion="0x00020000" android:required="true" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

更多信息可查看官方文档 : Install and set up—ArcGIS Runtime SDK for Android

使用

添加 arcgis-android-moremap 依赖:

repositories {
    jcenter()
}

dependencies {
    implementation 'com.wshunli.map:arcgis-android-moremap:1.1.1'
}

更多版本查看 arcgis-android-moremap releases

示例

MapView mMapView = (MapView) findViewById(R.id.map);
mMapView.addLayer(new MoreMapLayer(MoreMapLayerTypes.AMAP_VECTOR));

缓存切片图层

指定缓存路径即可缓存切片:

MapView mMapView = (MapView) findViewById(R.id.map);
String cachePath = Environment.getExternalStorageDirectory().getAbsoluteFile() + "/MoreMapCache";
MoreMapLayer vec_c = new MoreMapLayer(MoreMapLayerTypes.AMAP_VECTOR, cachePath);
mMapView.addLayer(vec_c);

支持图层

高德地图

  • AMAP_VECTOR、高德矢量图层(含路网,含注记)
  • AMAP_IMAGE、高德影像图层(不含路网,不含注记)
  • AMAP_ROAD、高德路网图层(含路网,含注记)
  • AMAP_TRAFFIC、高德实时交通图层

百度地图

  • BAIDU_MAP_VECTOR、百度矢量图层(含路网,含注记)
  • BAIDU_MAP_IMAGE、百度影像图层(不含路网,不含注记)
  • BAIDU_MAP_ROAD、百度路网图层(含路网,含注记)
  • BAIDU_MAP_TRAFFIC、百度实时交通图层

腾讯地图

  • TENCENT_MAP_VECTOR、腾讯矢量图层(含路网,含注记)
  • TENCENT_MAP_VECTOR_NIGHT、腾讯矢量图层(夜间,含路网,含注记)
  • TENCENT_MAP_IMAGE、腾讯影像图层(不含路网,不含注记)
  • TENCENT_MAP_TERRAIN、腾讯地形图层(不含路网,不含注记)
  • TENCENT_MAP_ROAD 、腾讯路网图层(含路网,含注记)

谷歌地图

  • GOOGLE_MAP_VECTOR、谷歌矢量地图服务
  • GOOGLE_MAP_IMAGE、谷歌影像地图服务
  • GOOGLE_MAP_TERRAIN、谷歌地形地图服务

更多

更多信息查看示例代码 sample

License

Copyright 2017 wshunli

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].