ArcGIS Runtime SDK for Android之mapView方法

ArcGIS Runtime SDK for Android之mapView方法

ID:42594675

大小:28.44 KB

页数:6页

时间:2019-09-18

ArcGIS Runtime SDK for Android之mapView方法_第1页
ArcGIS Runtime SDK for Android之mapView方法_第2页
ArcGIS Runtime SDK for Android之mapView方法_第3页
ArcGIS Runtime SDK for Android之mapView方法_第4页
ArcGIS Runtime SDK for Android之mapView方法_第5页
资源描述:

《ArcGIS Runtime SDK for Android之mapView方法》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、MapView中的公有方法intaddLayer(Layer layer,intindex)添加图层在给定的索引。intaddLayer(Layer layer)添加一个图层voidaddLayers(Layer[] layerArray)添加图层列表voidcenterAndZoom(doublelat,doublelon,floatlevelOrFactor)MapView初始化时,缩放到给定的坐标及显示级别。voidcenterAt(doublelat,doublelon,booleananimated)MapView初始化时,缩放到指定坐标,animate

2、d表示是否显示动画效果。voidcenterAt(Point centerPt,booleananimated)MapView初始化时,缩放到指定Point,animated表示是否显示动画效果。BitmapcreateSymbolImage(Symbol symbol, Geometry geometry,intwidth,intheight,intcolor)这个方法在API 级别10.2.2被弃用。请使用 getLegendImage(Symbol,Geometry,int,int,int) 替代。Bitmap[]createSymbolImages(Sym

3、bol[] symbol, Geometry[] geometry,intwidth,intheight,intcolor)这个方法在API 级别10.2.2被弃用。请使用 getLegendImages(Symbol[],Geometry[],int,int,int) 替代。voidenableWrapAround(booleanenable)启用或禁用旋转地图功能。ViewGroup.LayoutParamsgenerateLayoutParams(AttributeSetattrs)CalloutgetCallout()返回一个气泡弹窗窗口。Pointget

4、Center()放回当前MapView的中心点。BitmapgetDrawingMapCache(floatx,floaty,intw,inth)通过屏幕坐标和长宽获取MapView截图。PolygongetExtent()返回当前可视区域范围。GridgetGrid()返回地图格网信息,格网的显示状态通过该实例控制。LayergetLayer(intindex)通过给定索引获取图层。LayergetLayerByID(longlayerID)通过图层ID获取图层。LayergetLayerByURL(Stringurl)通过在线地图服务的Url获取图层。Laye

5、r[]getLayers()获取MapView中所有图层。LocationDisplayManagergetLocationDisplayManager()获取位置管理类 LocationDisplayManager.EnvelopegetMapBoundaryExtent()该方法在API级别10.2.2被弃用。使用getMaxExtent() 代替。EnvelopegetMaxExtent()获取MapView的最大范围。doublegetMaxResolution()该方法在API级别 10.2.2被弃用。使用 getMinScale() 代替。double

6、getMaxScale()返回最大比例尺。doublegetMinResolution()该方法在API级别 10.2.2被弃用。使用 doublegetMinScale()返回最小比例尺。OnLongPressListenergetOnLongPressListener()获取长按事件OnLongPressListener。OnPanListenergetOnPanListener()获取平移事件OnPanListener。OnPinchListenergetOnPinchListener()获取捏恰事件OnPinchListener。OnSingleTapLi

7、stenergetOnSingleTapListener()获取单击事件onSingleTapListener。OnStatusChangedListenergetOnStatusChangedListener()获取MapView状态改变事件OnStatusChangedListener。OnZoomListenergetOnZoomListener()获取缩放事件OnZoomListener。doublegetResolution()返回MapView的分辨率。doublegetRotationAngle()返回当前地图的旋转角度,逆时针方向。doublege

8、tScal

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。