上一页 1 ··· 3 4 5 6 7
摘要: 百度定位偶尔会出现定到非洲的现象,一开始我以为是GPS信号不太好的原因,后来出现的次数有点多了,上网查找才发现是权限不够的原因 官网地址http://lbsyun.baidu.com/index.php?title=android-locsdk/guide/create-project/androi 阅读全文
posted @ 2019-04-26 09:00 only_books 阅读(1632) 评论(2) 推荐(1) 编辑
摘要: 这个问题其实挺简单的,但是当时没想到这有一个坑。就是原来的10.x版本 esriFieldTypeSmallInteger 在100.4里面变成SHORT 在传map参数的时候,以前是直接map.put("DELETE",0);就可以识别,但是100.4不可以 一直在报类型不匹配的问题,the da 阅读全文
posted @ 2019-04-22 15:34 only_books 阅读(236) 评论(0) 推荐(0) 编辑
摘要: /** * 把一个MapView的对象转换成bitmap */public static Bitmap getMapViewBitmap(MapView v) { v.clearFocus(); v.setPressed(false); //能画缓存就返回false boolean willNotC 阅读全文
posted @ 2019-04-11 09:36 only_books 阅读(564) 评论(0) 推荐(0) 编辑
摘要: //放大地图zoominmapView.setViewpointScaleAsync(mapView.getMapScale() * 0.5);//缩小地图zoomoutmapView.setViewpointScaleAsync(mapView.getMapScale() * 2); 阅读全文
posted @ 2019-03-29 17:23 only_books 阅读(1225) 评论(0) 推荐(0) 编辑
摘要: Arcgis for android 100.4解决办法RequestConfiguration requestConfiguration = new RequestConfiguration();requestConfiguration.getHeaders().put("referer", "h 阅读全文
posted @ 2019-03-29 17:13 only_books 阅读(2023) 评论(0) 推荐(0) 编辑
摘要: 1.对基本类型的数组从小到大排序 sort(数组名+n1,数组名+n2); tips:如果·n1=0,+n1可以不写。将数组中下标范围[n1,n2)的元素从小到大排序。n2元素不在排序区间内。 int a[]={6,3,1,5,2,0,4}; sort(a,a+7);//对整个数组从小到大排序 so 阅读全文
posted @ 2018-12-22 18:12 only_books 阅读(1012) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7