AndLi
AndLi · 共 228 篇文章
1. arcgis for iOS 官方指南
<div class="iteye-blog-content-contain" style="font-size: 14px"></div> https://developers.arcgis.com/ios/swift/guide/develop-your-first-map-app.htm <!--StartFragment--> <!--EndFragment-->
2016-04-24 12:03 · Arcgis for iOS · 评论(0)
IdentifyTask--要素识别 ----长按某一点后查询,并将查询结果高亮显示
public class HighlightFeatures extends Activity { private MapView mapView; private ArcGISTiledMapServiceLayer tiledMapServiceLayer; private GraphicsLayer graphicsLayer; private Graphic[] highlightGraphics; private String mapURL = "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/PublicSaf…
2012-09-10 15:40 · ArcGis · 评论(0)
框选要素查询
public class SelectFeatures extends Activity { private MapView map = null; private ArcGISFeatureLayer mFeatureLayer = null; private GraphicsLayer mGraphicsLayer = null; private SimpleFillSymbol mSimpleFillSymbol; int test = 0; private CallbackListener<FeatureSet> callback = new CallbackListener<Fea…
2012-09-10 10:36 · ArcGis · 评论(0)
几何对象的绘制
public class DrawGraphicElements extends Activity implements OnClickListener { MapView mapView = null; ArcGISTiledMapServiceLayer mTileMapLayer = null; GraphicsLayer graphicsLayer = null; MyTouchListener mTouchListener = null; Button geometryButton = null; Button clearButton = null; String mapURL =…
2012-09-07 10:08 · ArcGis · 评论(0)
GPS定位
public class GPSView extends Activity { final static double SEARCH_RADIUS = 5; MapView map = null; @SuppressWarnings("serial") public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); map = (MapView) findViewById(R.id.map); String mapurl =…
2012-09-04 10:49 · ArcGis · 评论(3)
键盘的关闭
关闭键盘 第一个方法:是通过点击键盘上的return键来关闭键盘 第二个方法:是通过点击屏幕来关闭键盘:主要是设置一个custom的按钮铺满整个屏幕,注册它的点击点击事件 注意xib中背景按钮的位置:
2012-08-02 08:51 · IOS开发 · 评论(0)
4.x上导航控制器的简单实现(不需要建xib)
首先主页面.h文件: 继承: -(IBAction)goSetView:(id)sender{ SettingViewController *setView=[[SettingViewController alloc] initWithNibName:@"SettingViewController" bundle:nil]; UINavigationController *uc=[[UINavigationController alloc] initWithRootViewController:setView ]; [self presentModalViewController:uc an…
2012-07-31 19:03 · IOS开发 · 评论(0)
Oracle——按时间段查询
按照多个时间段查询:包括秒 String sql = "from Sedimentpermit"; sql += " where Carno like '%" + carno + "%'"; sql += " and road like '%" + road + "%'"; sql += " and to_char(VALIDDATE,'yyyy-mm-dd') >= '" + validDate + "'"; sql += " and ((to_char(BEGINDATE1,'yyyy-mm-dd hh24:mi:ss') <= '" + time + "'"; sql += " and…
2012-07-31 15:34 · SQL · 评论(0)
导航控制器UINavigationCotroller的常用方法汇总
//设置导航标题 self.title = @"首页"; //设置导航控制条颜色 self.navigationController.navigationBar.tintColor = [UIColor grayColor]; //设置为左边按钮 [[self navigationItem] setLeftBarButtonItem:backButton]; //将当前视图推出栈,程序将进入上一视图 [self.navigationController popViewControllerAnimated :YES]; //直接进入根视图 [self.navigationController …
2012-07-28 10:50 · IOS开发 · 评论(0)