wshunli / arcgis-android-tianditu Goto Github PK
View Code? Open in Web Editor NEW基于 ArcGIS for Android 的天地图显示及缓存(支持开发许可)
Home Page: http://www.wshunli.com/posts/eeb67a5.html
License: Apache License 2.0
基于 ArcGIS for Android 的天地图显示及缓存(支持开发许可)
Home Page: http://www.wshunli.com/posts/eeb67a5.html
License: Apache License 2.0
LayerInfoFactory类中的第110行,72445.98490512564需要改成 2445.98490512564
无法加载显示
一、在学习运行您的框架过程中,我始终执行不了下面四句话(位于arcgis-android-tianditu-master\sample\src\main\java\com\wshunli\map\tianditu\sample\MainActivity.java)
import com.esri.arcgisruntime.layers.WebTiledLayer;
import com.esri.arcgisruntime.mapping.ArcGISMap;
import com.esri.arcgisruntime.mapping.Basemap;
import com.esri.arcgisruntime.mapping.view.MapView;
在项目里的gradle里面我按照您的说明配置了在线 ArcGIS,并且在sample和tianditu这两个module下面也按照您的说明配置了依赖 ,但是它们好像不起作用,于是我想请问有什么方法可以解决的吗?
二、另外,在阅读您的代码的时候,我一直在寻找MainActivity.java中导入的四个文件的位置(MainActivity.java位于arcgis-android-tianditu-master\sample\src\main\java\com\wshunli\map\tianditu\sample\MainActivity.java)
com.lxj.xpopup.XPopup;
com.lxj.xpopup.impl.BottomListPopupView;
com.lxj.xpopup.impl.CenterListPopupView;
com.lxj.xpopup.interfaces.OnSelectListener;
请问这四个文件在哪个位置下呢?
最后,由于我是初学者,所以提的问题比较简单,希望您见谅,谢谢您,祝安好
啥时候支持缓存
TianDiTuLayer中拼接字符串的tileUrlBuffer定义成了全局,每次执行tileUrlBuffer.append(layerInfo.getUrl()).......后,虽然setLength(0),但是还是会出现地址不断追加的情况,导致请求失败。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.