ArcGIS for Windows Phone调用网络分析
2010-09-15 11:41
375 查看
<phone:PhoneApplicationPage x:Class="WindowsPhoneApplication1.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:esri="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client" xmlns:esrisymbols="clr-namespace:ESRI.ArcGIS.Client.Symbols;assembly=ESRI.ArcGIS.Client" xmlns:esritasks="clr-namespace:ESRI.ArcGIS.Client.Tasks;assembly=ESRI.ArcGIS.Client" SupportedOrientations="PortraitOrLandscape" mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"> <!--LayoutRoot contains the root grid where all other page content is placed--> <Grid x:Name="LayoutRoot" Background="{StaticResource PhoneBackgroundBrush}"> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="64"/> </Grid.RowDefinitions> <Grid.Resources> <esrisymbols:SimpleMarkerSymbol x:Key="stopSymbol" Size="30" Style="Circle" mce_Style="Circle" Color="Blue"/> <esrisymbols:SimpleLineSymbol x:Key="routeSymbol" Color="Red" Width="6"/> <esritasks:RouteTask x:Name="phoneRouteTask" Failed="phoneRouteTask_Failed" SolveCompleted="phoneRouteTask_SolveCompleted" Url="http://heyb/ArcGIS/rest/services/ESRISH/SanFrancisco/NAServer/Route"/> </Grid.Resources> <!--ContentPanel - place additional content here--> <Grid Grid.Row="0" x:Name="ContentGrid"> <esri:Map x:Name="phoneMap" Extent="-122.500366,37.711534,-122.398753,37.785022" IsLogoVisible="False" MouseClick="phoneMap_MouseClick" ExtentChanging="phoneMap_ExtentChanging"> <esri:ArcGISDynamicMapServiceLayer Url="http://heyb/ArcGIS/rest/services/ESRISH/SanFrancisco/MapServer"/> <esri:GraphicsLayer ID="stopsGraphicsLayer"/> <esri:GraphicsLayer ID="routeGraphicsLayer"/> </esri:Map> <esri:ScaleBar x:Name="phoneScaleBar" MapUnit="DecimalDegrees" TextColor="Black" HorizontalAlignment="Right" VerticalAlignment="Bottom" DisplayUnit="Miles" Map="{Binding ElementName=phoneMap}"/> </Grid> <Grid Grid.Row="1"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="phoneMapExtentText"/> </Grid> </Grid> </phone:PhoneApplicationPage>
相关文章推荐
- ArcGIS Runtime SDK 3.0 for Windows Phone 调用捷泰底图不出图的问题解决方法
- (十三)ArcGIS API For Javascript之网络分析
- ArcGIS API for Javascript进行网络分析的代码
- 【移动产品】ArcGIS Runtime SDK for WindowsPhone新版本10.1.1发布
- 【技术直通车】ArcGIS SDK for Windows Phone开发 WP8 移动GIS (入门篇)
- ArcGIS Runtime SDK for Windows Phone 3.0正式版发布啦,赶快来体验!
- ArcGIS SDK for Windows Phone开发 WP8 移动GIS (入门篇)
- 【移动产品】ArcGIS for Windows Phone 2.4发布
- 基于ArcGIS API For JavaScript调用GP服务实现动态插值分析实现
- ArcGIS 网络分析[3] 发布NAServer到ArcGIS for Server(以Server 10.4为例)
- ArcGIS API for Windows Phone开发实例(4):点击查看超市信息 --- 关于使用InforWindow
- ArcGIS API for Windows Phone正式发布!
- ArcGIS API for JavaScript 4.2学习笔记[27] 网络分析之最短路径分析【RouteTask类】
- ArcGIS API for Windows phone网站
- ArcGIS API for Silverlight实现地形坡度在线分析
- ArcGIS runtime sdk for windows mobile 开发 Q&A
- Python调用Windows CMD命令删除文件异常分析与解决
- Windows平台X64函数调用约定与汇编代码分析
- ArcGIS网络分析之发布网络分析服务(二)
- 基于visual c++之windows核心编程代码分析(47)实现交换网络的QQ号嗅探