zoukankan      html  css  js  c++  java
  • 初步完成ArcGIS Silverlight的数据源扩展

    WMS已经由官方放出,这边就不罗嗦了,在搞WFS客户端。累啊!

    Google

      GoogleMapTileLayer glayer = new GoogleMapTileLayer(GoogleMapType.GoogleMap, GoogleMapTileLayer.LanguageType.ChineseSimplified);

    mapMain.Layers.Add(glayer);

    image

    Bing地图

    中国版的待研究

    BingMapTileLayer bLayer = new BingMapTileLayer(BingMapTileLayer.UrlBingStaging,"", BingMapType.Roads);

    mapMain.Layers.Add(bLayer);

    image

    我最看好的OpenStreetMap,感谢ESRI官方提供

    image

    ArcGIS直读切片

    TileInfo tileInfo = new TileInfo();
                tileInfo.Height = 256;
                tileInfo.Width = 256;
                tileInfo.Origin = new MapPoint(-180f, 90f);
                tileInfo.SpatialReference = new SpatialReference(4*);

                tileInfo.Lods = new Lod[12]{
                    new Lod(){ Resolution=0.021****},
                    new Lod(){ Resolution=0.01****},
                    new Lod(){ Resolution=0.005499****},
                    new Lod(){ Resolution=0.****},
                    new Lod(){ Resolution=0.001****},
                    ….            };
                Uri uri = new Uri("http://******/");
                string format = "png";
                Envelope extent = new Envelope(105.19*3, 31.3120*1, 111.53*7, 39.979*1);
                extent.SpatialReference = new SpatialReference(4*);

    ArcGISDirectTileLayer directileLayer = new ArcGISDirectTileLayer(uri, format, tileInfo, extent,false);

    mapMain.Layers.Add(directileLayer);

    image

    最后再来一张国产的天地图,哇哈哈。

    TianDiTuTileLayer tdtLayer = new TianDiTuTileLayer(TianDiTuTileLayer.TianDiTuMapType.TDTRaster);
                TianDiTuTileLayer tdtLayer1 = new TianDiTuTileLayer(TianDiTuTileLayer.TianDiTuMapType.TDTRasterAnno);
                //directileLayer.Initialize();
                try
                {
                   
                    mapMain.Layers.Add(tdtLayer);
                    mapMain.Layers.Add(tdtLayer1);
                }

    image

    来个矢量

    image

    下一步研究一下Bing和国产的baidu==.嘿嘿…

  • 相关阅读:
    物料序号不可修改
    物料序号不可输入
    禁用物料不允许BOM
    MRP工作台任务下达之x组织屏蔽全部发放功能
    MRP工作台任务下达之计划组为必输
    按计划员自动带出对应任务类型
    java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource解决方法
    web.xml 中<taglib>报错(转载)
    web.xml元素介绍
    Struts+Tomcat搭建
  • 原文地址:https://www.cnblogs.com/Brune/p/1883348.html
Copyright © 2011-2022 走看看