ArcGIS Runtime其他性能
来源:互联网 发布:淘宝翻新机 编辑:程序博客网 时间:2024/05/28 16:28
地图加速显示
ArcGIS Runtime采用了新的渲染引擎,新的渲染引擎使得我们在浏览和显示地图的时候非常快,该功能是因为ArcGIS Runtime的Map对象有一个显示加速的属性,如下图:
将UseAcceleratedDisplay属性设置为true之后可以让显示的速度加快。所有的动态地图服务和切片地图服务,该功能都支持,如果让Map的所有图层都加速显示,只要按下面的设置就行:
<esri:Mapx:Name="_map"UseAcceleratedDisplay="True">
<esri:ArcGISTiledMapServiceLayerID="World Topo Map"
Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
<esri:GraphicsLayerID="Fire Trucks"/>
</esri:Map>
一个Map中可能有多个图层,但是我们可以设置让一些特定的图层启用该功能,代码如下:
<esri:Mapx:Name="_map">
<esri:AcceleratedDisplayLayers>
<esri:ArcGISTiledMapServiceLayerID="World Topo Map"
Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
<esri:GraphicsLayerID="Fire Trucks"/>
</esri:AcceleratedDisplayLayers>
<esri:GraphicsLayerID="Census Data">
<esri:GraphicsLayer.Clusterer>
<esri:FlareClusterer/>
</esri:GraphicsLayer.Clusterer>
</esri:GraphicsLayer>
</esri:Map>
ArcGIS Runtime 高性能
ArcGIS Runtime有很高的性能,这种性能使得我们可以在Map上显示成千上万个点,并且在拖动的时候很流畅,下图为10000个动画符号的效果:
点符号代码如下:
<esri:MarkerSymbol x:Key="ResonateMarkerSymbol">
<esri:MarkerSymbol.ControlTemplate>
<ControlTemplate>
<Canvas>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal">
<Storyboard RepeatBehavior="Forever">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Offset)" Storyboard.TargetName="ellipse">
<EasingDoubleKeyFrame KeyTime="0" Value="0.372"/>
<EasingDoubleKeyFrame KeyTime="0:0:00.5" Value="0.453"/>
<EasingDoubleKeyFrame KeyTime="0:0:01" Value="0.704"/>
<EasingDoubleKeyFrame KeyTime="0:0:01.5" Value="0.968"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[4].(GradientStop.Offset)" Storyboard.TargetName="ellipse">
<EasingDoubleKeyFrame KeyTime="0:0:00.5" Value="0.58"/>
<EasingDoubleKeyFrame KeyTime="0:0:01" Value="0.784"/>
<EasingDoubleKeyFrame KeyTime="0:0:01.5" Value="0.992"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimation BeginTime="0"
Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)"
From="1" To="0" Duration="0:0:01.5" />
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Ellipse x:Name="ellipse" Height="70" StrokeThickness="3" Width="70"
Canvas.Left="-35" Canvas.Top="-35">
<Ellipse.Fill>
<RadialGradientBrush>
<GradientStop Color="#FFC82727"/>
<GradientStop Color="#FFE2E296" Offset="0.255"/>
<GradientStop Color="#FFE2E296" Offset="0.115"/>
<GradientStop Color="#FFE2E296" Offset="0.381"/>
<GradientStop Color="#00F3EBE9" Offset="0.667"/>
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
</Canvas>
</ControlTemplate>
</esri:MarkerSymbol.ControlTemplate>
</esri:MarkerSymbol>
- ArcGIS Runtime其他性能
- ArcGIS Runtime其他性能
- arcgis engine runtime错误
- ArcGIS Runtime 介绍
- ArcGIS Runtime常见问题解答
- ArcGIS Runtime 快速入门
- ArcGIS Runtime 介绍
- ArcGIS Runtime常见问题解答
- ArcGIS Runtime 快速入门
- ArcGIS RunTime概述
- ArcGIS Runtime介绍
- ArcGIS Runtime—服务
- ArcGIS Runtime for .NET
- 其他对象(Runtime)
- ArcGIS(1)——ArcGIS Runtime
- 关于ArcGIS Engine与ArcGIS Runtime
- ArcGIS runtime延伸阅读之:解读ArcGIS Runtime SDKs
- ArcGIS Runtime VC++错误解决方法
- Error configuring application listener of class org.springframework.web.….ContextLoaderListener
- ArcGIS Runtime 本地API介绍(六)
- 设计模式--结构型--桥接模式
- 【小蒙淘金】11月23日金评-美盘休市,如何应对清淡的行情
- shell 整型变量自增(加1)的几种方法
- ArcGIS Runtime其他性能
- js 闭包和匿名函数
- 关于华为H3C 802.1X认证客户端的分析
- ANT 的安装和配置
- java简单的TCP服务程序
- ArcGIS Runtime支持的GP工具列表
- IT行业培训必读:优秀程序员的十个习惯
- Android include标签
- XCode工程内多Targets教程