登录
0
单击缩略图更改图像。
摘要
SharpGIS
上次修改时间: 2011年3月17日
 (1 次评级, 1,074 次浏览, 207 次下载) 登录 评价此项目.
请稍候...
描述

Use this layer with your WPF application based on the ArcGIS API for WPF.

It supports reading both exploded and compact tile caches directly from disk and display it within the WPF Map Control.

Example:

<Window x:Class="TestApp.MainWindow"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   
        xmlns
:esri="http://schemas.esri.com/arcgis/client/2009"  
        xmlns:samples="clr-namespace:ESRI.ArcGIS.Client.Samples"
        Title="MainWindow" Height="400" Width="800">
    <Grid>
         <esri:Map x:Name="map1">
              <samples:LocalTileCacheLayer 
                 TileCacheFilePath
="c:\ArcGISServer\arcgiscache\MyCompactCache_World\World\" />
       
 </esri:Map>
    </Grid>
</Window>

Set the TileCachePath to the folder where the conf.cdi and conf.xml files resides within your cache folders.

 

 

Click the attachment below to download the code for the layer.

访问和使用限制

属性
URL
 
 
代码附件
LocalTileCacheLayer.zip  下载
 
用途 代码示例
 
API 其他
 
标签 Layer
添加标签
 
制作者名单
 
大小 1 KB
 
范围
左:     右:  
 
上:     下:    

评论次数 (3) 缓存地图  ArcGIS  ——Local compact and exploded tile cache layer for WPF API
mbranscomb(2012年8月10日)

Hi, This was added to the recent release of the ArcGIS Runtime SDK 1.0 for WPF - see the ArcGISLocalTiledLayer class. Cheers

SharpGIS(2012年6月1日)

ExtremeProg: Since this is merely an external sample, it can't go into the WPF SDK. The sample code is right there in the description. Make sure it points to the right folder where your compact or exploded cache resides.

ExtremeProg(2012年3月10日)

Could you please add functioning example code with maps to InteractiveWPFSDKSource.zip. I cannot get tiles to load. Thank You

相关文章: