ArcGIS for Android 设置地图网格背景

问题:在ArcGIS For Android10.2.6开发中,当项目价值tpk或者底图时,会出现网格背景,我们期望设置为白色背景。

解决:可以通过使用MapView控件的setMapBackground方法进行设下:

           mMapView.setMapBackground(Color.WHITE, Color.WHITE, 0, 0);//设置背景为白色

public void setMapBackground (int bkColor, int gridColor, float gridSize, float gridLineSize)

Sets the map background with color and grid.

Parameters
bkColorbackground color packed as ints.
 gridColorgrid color packed as ints.
gridSizethe size of grid.
  gridLineSizethe line size of grid


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部