arcgis api for android 叠加天地图

本文介绍了使用ArcGIS Runtime SDK for Android v10.1.1叠加天地图时遇到的问题,包括标注层重复叠加、分辨率和比例尺不准确、定位偏移等,并提供了源代码下载链接。
摘要由CSDN通过智能技术生成

1.准备环境

ArcGIS Runtime SDK for Android v10.1.1,

下载地址:

http://download.csdn.net/detail/yu624774720hua/5216622

版本说明:

http://blog.csdn.net/arcgis_all/article/details/8530704


2.代码

Xml代码:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    tools:context=".TianDiTuActivity"
    >
    <com.esri.android.map.MapView
        android:id="@+id/map_mapView"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" >
    </com.esri.android.map.MapView>
</LinearLayout>



package com.hvit.tianditu;
/**
 * @author 作者姓名: 于华 
 * @E-mail yuh945@gmail.com
 * @version 创建时间:2012-10-13 下午05:21:43
 * 图层切换
 */
public enum  TianDiTuTiledMapServiceType {

	/**
     * 天地图矢量
     * */
	VEC_C,
    /**
     * 天地图影像
     * */
    IMG_C,
    /**
     * 天地图矢量标注
     * */
    CVA_C,
    /**
     * 天地图影像标注
     * */
    CIA_C
}

package com.hvit.tianditu;

import java.util.Random;

/**
 * @author 作者姓名: 于华 
 * @E-mail yuh945@gmail.com
 * @version 创建时间:2012-10-13 下午05:22:27
 * 抓图类
 */
public class TDTUrl  {
    private TianDiTuTiledMapServiceType _tiandituMapServiceType;
    private int _level;
    private int _col;
    private int _row;
    public TDTUrl(int level, int col, int row,TianDiTuTiledMapServiceType tiandituMapServiceType){
        this._level=level;
        this._col=col;
        this._row=row;
        this._tiandituMapService
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值