{"id":688,"date":"2011-03-19T18:21:34","date_gmt":"2011-03-19T10:21:34","guid":{"rendered":"http:\/\/blog.newnaw.com\/?p=688"},"modified":"2011-03-19T18:21:34","modified_gmt":"2011-03-19T10:21:34","slug":"arcgis-api-for-windows-phone%e5%bc%80%e5%8f%91%e5%ae%9e%e4%be%8b3%e5%9c%a8%e5%9c%b0%e5%9b%be%e4%b8%8a%e6%98%be%e7%a4%ba%e8%b6%85%e5%b8%82%e6%95%b0%e6%8d%ae","status":"publish","type":"post","link":"https:\/\/blog.newnaw.com\/?p=688","title":{"rendered":"ArcGIS API for Windows Phone\u5f00\u53d1\u5b9e\u4f8b(3):\u5728\u5730\u56fe\u4e0a\u663e\u793a\u8d85\u5e02\u6570\u636e"},"content":{"rendered":"<p>\u3000\u3000\u672c\u6587\u5185\u5bb9\uff1aGraphicsLayer\uff0cFeatureLayer\uff0c\u81ea\u5b9a\u4e49\u5730\u56fe\u7b26\u53f7\u3002<br \/>\u3000\u3000\u6211\u4eec\u7684\u5e94\u7528\u573a\u666f\u662f\u5bf9\u8d85\u5e02\u6570\u636e\u8fdb\u884c\u5c55\u793a\uff0c\u67e5\u8be2\u548c\u5206\u6790\uff0c\u56e0\u6b64\u7b2c\u4e00\u6b65\u5f53\u7136\u662f\u8981\u5c06\u8d85\u5e02\u663e\u793a\u5728\u5730\u56fe\u4e4b\u4e0a\u3002\u5982\u6240\u6709\u7684GIS\u8f6f\u4ef6\u4e00\u6837\uff0c\u8981\u5c06\u6570\u636e\u52a0\u8f7d\u5230\u5730\u56fe\u91cc\u9762\uff0c\u9700\u8981\u56fe\u5c42\u7684\u6982\u5ff5\uff0c\u8fd9\u91cc\u6211\u4eec\u4e5f\u9700\u8981\u5408\u9002\u7684\u56fe\u5c42\uff0c\u5c06\u8d85\u5e02\u6570\u636e\u52a0\u8f7d\u8fdb\u6765\u3002<br \/>\u3000\u3000\u5148\u770b\u4e00\u4e0bArcGIS API for Windows Phone\/Silverlight\/WPF\u4e2d\u7684\u4e3b\u8981\u56fe\u5c42\u7c7b\u578b\u3002  <\/p>\n<p>Layer<br \/>&nbsp; |&#8211;TiledMapServiceLayer<br \/>&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;<font color=\"#ff0000\">ArcGISTiledMapServiceLayer<br \/><\/font>&nbsp; |&#8211;DynamicLayer<br \/>&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;DynamicMapServiceLayer<br \/>&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;<font color=\"#ff0000\">ArcGISDynamicMapServiceLayer<\/font><br \/>&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;ArcGISImageServiceLayer<br \/>&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;GPResultImageLayer<br \/>&nbsp; |&#8211;<font color=\"#ff0000\">GraphicsLayer<br \/><\/font>&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;<font color=\"#ff0000\"><strong>FeatureLayer<\/strong><\/font><br \/>&nbsp; |&#8211;ElementLayer  <\/p>\n<p>\u3000\u3000Layer\u6700\u57fa\u672c\u7684\u57fa\u7c7b\uff0c\u5e38\u7528\u7684\u51e0\u79cd\u56fe\u5c42\u7c7b\u578b\u6211\u5df2\u7ecf\u7528\u7ea2\u8272\u6807\u8bb0\u51fa\u6765\u4e86\u3002\u524d\u4e24\u79cdArcGISTiledMapServiceLayer\u548cArcGISDynamicMapServiceLayer\u5206\u522b\u7528\u4e8e\u52a0\u8f7dArcGIS Server\u53d1\u5e03\u7684\u7f13\u5b58\u5730\u56fe\u670d\u52a1\u548c\u52a8\u6001\u5730\u56fe\u670d\u52a1\uff0c\u8fd9\u4e2a\u5728\u4e0a\u4e00\u8282\u4e2d\u5df2\u7ecf\u8bf4\u8fc7\u3002\u518d\u6765\u770b\u4e00\u4e0b\u4e2d\u95f4\u7684GraphicsLayer\u548cFeatureLayer\uff0c\u53ef\u4ee5\u8bf4\u8fd9\u662fAPI\u4e2d\u6700\u5e38\u7528\u7684\u4e24\u79cd\u56fe\u5c42\uff0c\u5927\u90e8\u5206\u7684\u7a0b\u5e8f\u529f\u80fd\u90fd\u8981\u57fa\u4e8e\u5b83\u4eec\u6765\u5b8c\u6210\u3002<br \/>\u3000\u3000GraphicsLayer\u662f\u4fdd\u7559\u5728\u5185\u5b58\u4e2d\u7684\u4e00\u79cd\u56fe\u5c42\uff08\u4e0eArcMap\u3001ArcGIS Engine\u3001ArcGIS Server ADF\u7a0b\u5e8f\u4e2d\u7684\u76f8\u5e94\u6982\u5ff5\u7c7b\u4f3c\uff09\uff0c\u987e\u540d\u601d\u4e49\u662f\u5f88\u591aGraphic\u7684\u96c6\u5408\uff0c\u800c\u6240\u6709\u4e0e\u7528\u6237\u4ea4\u4e92\u7684\u5185\u5bb9\u901a\u5e38\u90fd\u7528Graphic\u6765\u663e\u793a\u3002\u6bd4\u5982\u591a\u8fb9\u5f62\u67e5\u8be2\u4e2d\u7528\u6237\u753b\u51fa\u7684\u591a\u8fb9\u5f62\uff0c\u5c5e\u6027\/\u7a7a\u95f4\u67e5\u8be2\u7ed3\u679c\u4e2d\u7684\u6240\u6709\u8981\u7d20\u7b49\u5185\u5bb9\uff0c\u90fd\u662fGraphic\u3002\u53ef\u4ee5\u8bf4\uff0c\u9664\u4e86\u5730\u56fe\u672c\u8eab\uff0c\u57fa\u672c\u4e0a\u770b\u5230\u7684\u6240\u6709\u4e0e\u5730\u7406\u4f4d\u7f6e\u6709\u5173\u7684\u4e1c\u897f\u90fd\u53ef\u4ee5\u7528Graphic\u6765\u8868\u793a\u3002Graphic\u5bf9\u8c61\u67093\u4e2a\u91cd\u8981\u7684\u5c5e\u6027\uff1aGeometry\uff0cSymbol\u548cAttributes\u3002Geometry\u4ee3\u8868\u4e86\u4e00\u4e2aGraphic\u7684\u51e0\u4f55\u5f62\u72b6\uff08\u53ef\u7591\u662f\u70b9\u3001\u7ebf\u3001\u9762\u4efb\u610f\u4e00\u79cd\uff09\u6216\u5730\u7406\u4f4d\u7f6e\uff0c\u800cSymbol\u5219\u8868\u793aGraphic\u7684\u5448\u73b0\u6837\u5b50\uff0c\u6bd4\u5982\u989c\u8272\u3001\u6548\u679c\uff0c\u540c\u65f6\u6709\u4e86\u8fd9\u4e24\u4e2a\u5c5e\u6027\uff08\u7f3a\u4e00\u4e0d\u53ef\uff09\uff0cGraphic\u5c31\u53ef\u4ee5\u663e\u793a\u5230\u5730\u56fe\u4e0a\u4e86\u3002\u800cAttributes\u662f\u952e\u503c\u5bf9\u96c6\u5408\uff0c\u53ef\u5728\u91cc\u9762\u5b58\u50a8\u4efb\u610f\u7c7b\u578b\u7684\u5bf9\u8c61\uff0c\u6bd4\u5982\u4e00\u4e2a\u8981\u7d20\u7684\u5c5e\u6027\u4fe1\u606f\u3002<br \/>\u3000\u3000FeatureLayer\u7ee7\u627f\u81eaGraphicsLayer\uff0c\u5b83\u4e0e\u540e\u8005\u7684\u533a\u522b\u662f\uff0cGraphicsLayer\u4e2d\u7684Graphic\u90fd\u662f\u4eba\u4e3a\u521b\u5efa\u51fa\u6765\u7684\uff0c\u800cFeatureLayer\u4e2d\u7684Graphic\u90fd\u662f\u4eceArcGIS Server\u53d1\u5e03\u7684\u670d\u52a1\u4e2d\u8bfb\u53d6\u51fa\u6765\u7684\uff0c\u56e0\u6b64FeatureLayer\u6bd4GraphicsLayer\u591a\u4e86\u4e00\u4e2aURL\u5c5e\u6027\u3002\u8fd9\u4e2aURL\u901a\u5e38\u6307\u5411\u4e00\u4e2aArcGIS Server\u53d1\u5e03\u7684\uff0cMapService\u6216FeatureService\u7684\u5b50\u56fe\u5c42\uff08\u5bf9\u5e94\u4e00\u4e2aFeatureClass\uff09\u3002FeatureLayer\u6709\u4e86\u8fd9\u4e2aURL\u540e\uff0c\u5c31\u53ef\u4ee5\u8bfb\u53d6\u51fa\u8be5\u670d\u52a1\u5bf9\u5e94\u5b50\u56fe\u5c42\u91cc\u7684\u6240\u6709\u8981\u7d20\u5185\u5bb9\uff0c\u56e0\u6b64FeatureLayer\u91ccGraphic\u7684Geometry\u5c5e\u6027\u4f1a\u81ea\u52a8\u88abFeatureClass\u7684Shape\u5b57\u6bb5\u586b\u5145\uff0c\u800cGraphic\u7684Attributes\u5b57\u6bb5\u5219\u4f1a\u6839\u636e\u8981\u6c42\uff0c\u88abFeatureClass\u4e2d\u7684\u5c5e\u6027\u4fe1\u606f\u6240\u586b\u5145\u3002\u5982\u679c\u53d1\u5e03\u670d\u52a1\u7684\u670d\u52a1\u5668\u662fArcGIS Server 10\u7248\u672c\uff0c\u5219Graphic\u7684Symbol\u5c5e\u6027\u4f1a\u81ea\u52a8\u88ab\u670d\u52a1\u7684DrawingInfo\u4fe1\u606f\u586b\u5145\u3002\u53e6\u5916\uff0cFeatureLayer\u662f\u5ba2\u6237\u7aefAPI\u4e2d\u5bf9FeatureService\u7684\u552f\u4e00\u8f7d\u4f53\uff0c\u8fd9\u662f\u5b83\u53e6\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u4f5c\u7528\uff08\u4e5f\u662f\u4e3b\u8981\u4f5c\u7528\uff09\uff0c\u4ee5\u540e\u7684\u6587\u7ae0\u4e2d\u4f1a\u63d0\u5230\u3002<br \/>\u3000\u3000ArcGIS API for Windows Phone\/Silverlight\/WPF\/Javascript\/Flex\/iOS\/Android\u90fd\u662f\u57fa\u4e8eArcGIS Server\u6240\u53d1\u5e03\u7684REST\u670d\u52a1\uff0c\u6240\u4ee5\uff0c\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u5c06\u8d85\u5e02\u6570\u636e\u7528ArcGIS Server\u53d1\u5e03\u6210MapService\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u4e0d\u5c5e\u4e8e\u672c\u6587\u8981\u8ba8\u8bba\u7684\u5185\u5bb9\uff0c\u4e0d\u719f\u6089\u7684\u540c\u5b66\u53ef\u81ea\u5df1\u67e5\u9605\u76f8\u5173\u8d44\u6599\u3002\u8d85\u5e02\u56fe\u5c42\u7684\u5c5e\u6027\u8868\u5982\u4e0b\uff0c\u524d\u9762\u662f\u6bcf\u4e2a\u5e97\u9762\u7684\u57fa\u672c\u4fe1\u606f\uff0c\u540e\u9762\u662f\u8be5\u6708\u6bcf\u5929\u7684\u8425\u4e1a\u989d\u4fe1\u606f\uff1a  <\/p>\n<p><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image.png\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image_thumb.png\" width=\"419\" height=\"115\"><\/a>  <\/p>\n<p>\u3000\u3000\u8d85\u5e02\u7684ShapeFile\u5728\u8fd9\uff0c<a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/supermarket_shp.zip\">\u70b9\u6211\u4e0b\u8f7d<\/a>\u3002\u5728\u6211\u672c\u673a\u4e0a\u53d1\u5e03\u51fa\u6765\u7684\u5730\u5740\u662f\uff1a<a href=\"http:\/\/localhost\/ArcGIS\/rest\/services\/supermarket\/MapServer\/0\">http:\/\/localhost\/ArcGIS\/rest\/services\/supermarket\/MapServer\/0<\/a>\u3002<br \/>\u3000\u3000\u73b0\u5728\u6253\u5f00\u4e0a\u4e00\u8282\u6211\u4eec\u5b8c\u6210\u7684HelloMap\u7a0b\u5e8f\uff0c\u6765\u7ee7\u7eed\u6539\u9020\u4e4b\u3002\u5e95\u56fe\u670d\u52a1\u6211\u4eec\u4f9d\u65e7\u4f7f\u7528ArcGIS Online\u63d0\u4f9b\u7684StreetMap\u6570\u636e<a href=\"http:\/\/services.arcgisonline.com\/ArcGIS\/rest\/services\/World_Street_Map\/MapServer\">http:\/\/services.arcgisonline.com\/ArcGIS\/rest\/services\/World_Street_Map\/MapServer<\/a>\uff0c\u7136\u540e\u6211\u4eec\u5728Map\u63a7\u4ef6\u4e2d\u52a0\u5165\u4e00\u4e2aFeatureLayer\uff0c\u5176URL\u5c5e\u6027\u6307\u5411\u53d1\u5e03\u5728\u672c\u673a\u7684\u8d85\u5e02\u5730\u56fe\u670d\u52a1\u3002\u7531\u4e8e\u6211\u4eec\u7684\u6570\u636e\u8303\u56f4\u4ec5\u9650\u4e8e\u5317\u4eac\u5e02\u9644\u8fd1\uff0c\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u5229\u7528Map\u7684Extent\u5c5e\u6027\u6307\u5b9a\u5730\u56fe\u7684\u521d\u59cb\u8303\u56f4\uff0c\u4ee3\u7801\u73b0\u5728\u770b\u8d77\u6765\u662f\u8fd9\u6837\u7684\uff1a <\/p>\n<div style=\"border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px\" id=\"codeSnippetWrapper\">\n<div style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\" id=\"codeSnippet\">\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum1\">   1:<\/span> <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">esri:Map<\/span> <span style=\"color: #ff0000\">x:Name<\/span><span style=\"color: #0000ff\">=\"map1\"<\/span> <span style=\"color: #ff0000\">Extent<\/span><span style=\"color: #0000ff\">=\"12926244,4840437,12982108,4878585\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum2\">   2:<\/span>             <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">esri:Map.Layers<\/span><span style=\"color: #0000ff\">&gt;<\/span>                <\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum3\">   3:<\/span>                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">esri:ArcGISTiledMapServiceLayer<\/span> <span style=\"color: #ff0000\">ID<\/span><span style=\"color: #0000ff\">=\"BaseMap\"<\/span> <span style=\"color: #ff0000\">Url<\/span><span style=\"color: #0000ff\">=\"http:\/\/services.arcgisonline.com\/ArcGIS\/rest\/services\/World_Street_Map\/MapServer\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum4\">   4:<\/span>                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">esri:FeatureLayer<\/span> <span style=\"color: #ff0000\">ID<\/span><span style=\"color: #0000ff\">=\"BusinessLayer\"<\/span> <\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum5\">   5:<\/span>                     <span style=\"color: #ff0000\">Url<\/span><span style=\"color: #0000ff\">=\"http:\/\/localhost\/arcgis\/rest\/services\/supermarket\/MapServer\/0\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum6\">   6:<\/span>                     <span style=\"color: #ff0000\">OutFields<\/span><span style=\"color: #0000ff\">=\"*\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum7\">   7:<\/span>             <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">esri:Map.Layers<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum8\">   8:<\/span>         <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">esri:Map<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/div>\n<\/div>\n<p>\u3000\u3000\u5176\u4e2dFeatureLayer\u7684OutFields\u5c5e\u6027\u4ee3\u8868\u4ece\u670d\u52a1\u5668\u7aef\u8fd4\u56de\u7684\u5c5e\u6027\u5b57\u6bb5\uff0c\u8fd9\u91cc\u201c*\u201d\u8868\u793a\u8fd4\u56de\u6240\u6709\u5c5e\u6027\u5b57\u6bb5\uff0c\u4e5f\u5c31\u662f\u6211\u4eec\u7684Graphic\u5bf9\u8c61\u7684Attributes\u91cc\u81ea\u52a8\u586b\u5145\u4e86\u8d85\u5e02\u7684\u6240\u6709\u5c5e\u6027\u503c\u3002<br \/>\u3000\u3000\u9700\u8981\u6ce8\u610f\uff0c\u5728xaml\u4ee3\u7801\u4e2d\uff0c\u6700\u9760\u4e0a\u7684\u56fe\u5c42\u5728\u663e\u793a\u65f6\u4f1a\u51fa\u73b0\u5728Map\u63a7\u4ef6\u7684\u6700\u5e95\u7aef\uff0c\u5982\u56fe\uff1a <\/p>\n<p><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/clip_image0029.jpg\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"clip_image002[9]\" border=\"0\" alt=\"clip_image002[9]\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/clip_image0029_thumb.jpg\" width=\"292\" height=\"156\"><\/a> <\/p>\n<p>\u3000\u3000Silverlight\u4e2d\uff0c\u53ef\u4ee5\u5c06\u5e38\u7528\u7684\u4efb\u4f55\u8d44\u6e90\u4fdd\u5b58\u5230Resource\u96c6\u5408\u4e2d\uff0c\u4ee5\u4fbf\u91cd\u590d\u5229\u7528\u3002\u56e0\u6b64\u6211\u4eec\u5c06\u4e24\u4e2a\u670d\u52a1\u5730\u5740\u4fdd\u5b58\u5230App.xaml\u6587\u4ef6\u7684ResourceDictionary\u4e2d\uff08\u53ef\u5728\u6240\u6709\u9875\u9762\u4e2d\u76f4\u63a5\u5f15\u7528\uff09\uff1a<\/p>\n<div style=\"border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px\" id=\"codeSnippetWrapper\">\n<div style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\" id=\"codeSnippet\">\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum1\">   1:<\/span> <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Application<\/span> <\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum2\">   2:<\/span>     <span style=\"color: #ff0000\">x:Class<\/span><span style=\"color: #0000ff\">=\"esridemo.App\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum3\">   3:<\/span>     <span style=\"color: #ff0000\">xmlns<\/span><span style=\"color: #0000ff\">=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\"<\/span>       <\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum4\">   4:<\/span>     <span style=\"color: #ff0000\">xmlns:x<\/span><span style=\"color: #0000ff\">=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum5\">   5:<\/span>     <span style=\"color: #ff0000\">xmlns:phone<\/span><span style=\"color: #0000ff\">=\"clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum6\">   6:<\/span>     <span style=\"color: #ff0000\">xmlns:esri<\/span><span style=\"color: #0000ff\">=\"clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum7\">   7:<\/span>     <span style=\"color: #ff0000\">xmlns:sys<\/span><span style=\"color: #0000ff\">=\"clr-namespace:System;assembly=mscorlib\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum8\">   8:<\/span>     <span style=\"color: #ff0000\">xmlns:shell<\/span><span style=\"color: #0000ff\">=\"clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum9\">   9:<\/span>&nbsp; <\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum10\">  10:<\/span>     <span style=\"color: #008000\">&lt;!--Application Resources--&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum11\">  11:<\/span>     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Application.Resources<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum12\">  12:<\/span>         <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">sys:String<\/span> <span style=\"color: #ff0000\">x:Key<\/span><span style=\"color: #0000ff\">=\"BaseMap\"<\/span><span style=\"color: #0000ff\">&gt;<\/span>http:\/\/services.arcgisonline.com\/ArcGIS\/rest\/services\/World_Street_Map\/MapServer<span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">sys:String<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum13\">  13:<\/span>         <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">sys:String<\/span> <span style=\"color: #ff0000\">x:Key<\/span><span style=\"color: #0000ff\">=\"BusinessLayer\"<\/span><span style=\"color: #0000ff\">&gt;<\/span>http:\/\/localhost\/arcgis\/rest\/services\/supermarket\/MapServer\/0<span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">sys:String<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum14\">  14:<\/span>     <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Application.Resources<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum15\">  15:<\/span>&nbsp; <\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum16\">  16:<\/span>     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Application.ApplicationLifetimeObjects<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum17\">  17:<\/span>         <span style=\"color: #008000\">&lt;!--Required object that handles lifetime events for the application--&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum18\">  18:<\/span>         <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">shell:PhoneApplicationService<\/span> <\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum19\">  19:<\/span>             <span style=\"color: #ff0000\">Launching<\/span><span style=\"color: #0000ff\">=\"Application_Launching\"<\/span> <span style=\"color: #ff0000\">Closing<\/span><span style=\"color: #0000ff\">=\"Application_Closing\"<\/span> <\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum20\">  20:<\/span>             <span style=\"color: #ff0000\">Activated<\/span><span style=\"color: #0000ff\">=\"Application_Activated\"<\/span> <span style=\"color: #ff0000\">Deactivated<\/span><span style=\"color: #0000ff\">=\"Application_Deactivated\"<\/span><span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum21\">  21:<\/span>     <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Application.ApplicationLifetimeObjects<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum22\">  22:<\/span>&nbsp; <\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum23\">  23:<\/span> <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Application<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/div>\n<\/div>\n<p>\u3000\u3000\u5c06MainPage.xaml\u4e2d\u7684\u4ee3\u7801\u6539\u5199\u6210\uff1a<\/p>\n<div style=\"border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px\" id=\"codeSnippetWrapper\">\n<div style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\" id=\"codeSnippet\">\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum1\">   1:<\/span> <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">esri:Map<\/span> <span style=\"color: #ff0000\">x:Name<\/span><span style=\"color: #0000ff\">=\"map1\"<\/span> <span style=\"color: #ff0000\">Extent<\/span><span style=\"color: #0000ff\">=\"12926244,4840437,12982108,4878585\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum2\">   2:<\/span>             <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">esri:Map.Layers<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum3\">   3:<\/span>                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">esri:ArcGISTiledMapServiceLayer<\/span> <span style=\"color: #ff0000\">ID<\/span><span style=\"color: #0000ff\">=\"BaseMap\"<\/span> <span style=\"color: #ff0000\">Url<\/span><span style=\"color: #0000ff\">=\"{StaticResource BaseMap}\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum4\">   4:<\/span>                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">esri:FeatureLayer<\/span> <span style=\"color: #ff0000\">ID<\/span><span style=\"color: #0000ff\">=\"BusinessLayer\"<\/span> <\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum5\">   5:<\/span>                     <span style=\"color: #ff0000\">Url<\/span><span style=\"color: #0000ff\">=\"{StaticResource BusinessLayer}\"<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum6\">   6:<\/span>                     <span style=\"color: #ff0000\">OutFields<\/span><span style=\"color: #0000ff\">=\"*\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum7\">   7:<\/span>             <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">esri:Map.Layers<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum8\">   8:<\/span>         <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">esri:Map<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/div>\n<\/div>\n<p>\u3000\u3000\u8fd0\u884c\u4e00\u4e0b<\/p>\n<p><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image1.png\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/image_thumb1.png\" width=\"194\" height=\"277\"><\/a><br \/>&nbsp;<br \/>\u3000\u3000\u53ef\u4ee5\u770b\u5230\uff0c\u8d85\u5e02\u5df2\u7ecf\u663e\u793a\u5728\u5730\u56fe\u4e0a\u9762\u4e86\u3002\u4f46\u8d85\u5e02\u7684\u7b26\u53f7\u4f9d\u7136\u662fArcMap\u914d\u7f6e\u5730\u56fe\u6587\u6863\u65f6\u7684\u9ed8\u8ba4\u503c\uff0c\u8fd9\u91cc\u6211\u4eec\u6765\u5229\u7528FeatureLayer\u7684FeatureSymbol\u5c5e\u6027\uff0c\u6539\u53d8\u4e00\u4e0b\u8d85\u5e02\u7684\u5730\u56fe\u7b26\u53f7\u3002<br \/>\u5728App.xaml\u6587\u4ef6\u7684\u8d44\u6e90\u4e2d\uff0c\u6dfb\u52a0\u4e00\u4e2aMarkerSymbol\u7c7b\u578b\u7684\u8d85\u5e02\u7b26\u53f7\uff1a<\/p>\n<div style=\"border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px\" id=\"codeSnippetWrapper\">\n<div style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\" id=\"codeSnippet\">\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum1\">   1:<\/span> <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">esriSymbols:MarkerSymbol<\/span> <span style=\"color: #ff0000\">x:Key<\/span><span style=\"color: #0000ff\">=\"SuperMarket\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum2\">   2:<\/span>             <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">esriSymbols:MarkerSymbol.ControlTemplate<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum3\">   3:<\/span>                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">ControlTemplate<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum4\">   4:<\/span>                     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Canvas<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum5\">   5:<\/span>                         <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">VisualStateManager.VisualStateGroups<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum6\">   6:<\/span>                             <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">VisualStateGroup<\/span> <span style=\"color: #ff0000\">x:Name<\/span><span style=\"color: #0000ff\">=\"SelectionStates\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum7\">   7:<\/span>                                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">VisualState<\/span> <span style=\"color: #ff0000\">x:Name<\/span><span style=\"color: #0000ff\">=\"Selected\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum8\">   8:<\/span>                                     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Storyboard<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum9\">   9:<\/span>                                         <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Storyboard.Children<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum10\">  10:<\/span>                                             <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Storyboard<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum11\">  11:<\/span>                                                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">ObjectAnimationUsingKeyFrames<\/span> <span style=\"color: #ff0000\">BeginTime<\/span><span style=\"color: #0000ff\">=\"00:00:00\"<\/span> <span style=\"color: #ff0000\">Storyboard<\/span>.<span style=\"color: #ff0000\">TargetName<\/span><span style=\"color: #0000ff\">=\"ellipse\"<\/span> <span style=\"color: #ff0000\">Storyboard<\/span>.<span style=\"color: #ff0000\">TargetProperty<\/span><span style=\"color: #0000ff\">=\"(UIElement.Visibility)\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum12\">  12:<\/span>                                                     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">DiscreteObjectKeyFrame<\/span> <span style=\"color: #ff0000\">KeyTime<\/span><span style=\"color: #0000ff\">=\"00:00:00\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum13\">  13:<\/span>                                                         <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">DiscreteObjectKeyFrame.Value<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum14\">  14:<\/span>                                                             <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Visibility<\/span><span style=\"color: #0000ff\">&gt;<\/span>Collapsed<span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Visibility<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum15\">  15:<\/span>                                                         <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">DiscreteObjectKeyFrame.Value<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum16\">  16:<\/span>                                                     <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">DiscreteObjectKeyFrame<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum17\">  17:<\/span>                                                     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">DiscreteObjectKeyFrame<\/span> <span style=\"color: #ff0000\">KeyTime<\/span><span style=\"color: #0000ff\">=\"00:00:00.01\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum18\">  18:<\/span>                                                         <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">DiscreteObjectKeyFrame.Value<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum19\">  19:<\/span>                                                             <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Visibility<\/span><span style=\"color: #0000ff\">&gt;<\/span>Visible<span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Visibility<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum20\">  20:<\/span>                                                         <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">DiscreteObjectKeyFrame.Value<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum21\">  21:<\/span>                                                     <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">DiscreteObjectKeyFrame<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum22\">  22:<\/span>                                                 <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">ObjectAnimationUsingKeyFrames<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum23\">  23:<\/span>                                             <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Storyboard<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum24\">  24:<\/span>                                             <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Storyboard<\/span> <span style=\"color: #ff0000\">RepeatBehavior<\/span><span style=\"color: #0000ff\">=\"ForEver\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum25\">  25:<\/span>                                                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">DoubleAnimation<\/span> <span style=\"color: #ff0000\">BeginTime<\/span><span style=\"color: #0000ff\">=\"0\"<\/span> <span style=\"color: #ff0000\">Storyboard<\/span>.<span style=\"color: #ff0000\">TargetName<\/span><span style=\"color: #0000ff\">=\"ellipse\"<\/span> <span style=\"color: #ff0000\">Storyboard<\/span>.<span style=\"color: #ff0000\">TargetProperty<\/span><span style=\"color: #0000ff\">=\"(UIElement.RenderTransform).(ScaleTransform.ScaleX)\"<\/span> <span style=\"color: #ff0000\">From<\/span><span style=\"color: #0000ff\">=\"1\"<\/span> <span style=\"color: #ff0000\">To<\/span><span style=\"color: #0000ff\">=\"10\"<\/span> <span style=\"color: #ff0000\">Duration<\/span><span style=\"color: #0000ff\">=\"00:00:01\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum26\">  26:<\/span>                                                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">DoubleAnimation<\/span> <span style=\"color: #ff0000\">BeginTime<\/span><span style=\"color: #0000ff\">=\"0\"<\/span> <span style=\"color: #ff0000\">Storyboard<\/span>.<span style=\"color: #ff0000\">TargetName<\/span><span style=\"color: #0000ff\">=\"ellipse\"<\/span> <span style=\"color: #ff0000\">Storyboard<\/span>.<span style=\"color: #ff0000\">TargetProperty<\/span><span style=\"color: #0000ff\">=\"(UIElement.RenderTransform).(ScaleTransform.ScaleY)\"<\/span> <span style=\"color: #ff0000\">From<\/span><span style=\"color: #0000ff\">=\"1\"<\/span> <span style=\"color: #ff0000\">To<\/span><span style=\"color: #0000ff\">=\"10\"<\/span> <span style=\"color: #ff0000\">Duration<\/span><span style=\"color: #0000ff\">=\"00:00:01\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum27\">  27:<\/span>                                                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">DoubleAnimation<\/span> <span style=\"color: #ff0000\">BeginTime<\/span><span style=\"color: #0000ff\">=\"0\"<\/span> <span style=\"color: #ff0000\">Storyboard<\/span>.<span style=\"color: #ff0000\">TargetName<\/span><span style=\"color: #0000ff\">=\"ellipse\"<\/span> <span style=\"color: #ff0000\">Storyboard<\/span>.<span style=\"color: #ff0000\">TargetProperty<\/span><span style=\"color: #0000ff\">=\"(UIElement.Opacity)\"<\/span> <span style=\"color: #ff0000\">From<\/span><span style=\"color: #0000ff\">=\"1\"<\/span> <span style=\"color: #ff0000\">To<\/span><span style=\"color: #0000ff\">=\"0\"<\/span> <span style=\"color: #ff0000\">Duration<\/span><span style=\"color: #0000ff\">=\"00:00:01\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum28\">  28:<\/span>                                             <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Storyboard<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum29\">  29:<\/span>                                         <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Storyboard.Children<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum30\">  30:<\/span>                                     <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Storyboard<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum31\">  31:<\/span>                                 <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">VisualState<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum32\">  32:<\/span>                                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">VisualState<\/span> <span style=\"color: #ff0000\">x:Name<\/span><span style=\"color: #0000ff\">=\"Unselected\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum33\">  33:<\/span>                             <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">VisualStateGroup<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum34\">  34:<\/span>                         <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">VisualStateManager.VisualStateGroups<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum35\">  35:<\/span>                         <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Ellipse<\/span> <span style=\"color: #ff0000\">Height<\/span><span style=\"color: #0000ff\">=\"20\"<\/span> <span style=\"color: #ff0000\">Width<\/span><span style=\"color: #0000ff\">=\"20\"<\/span> <span style=\"color: #ff0000\">Canvas<\/span>.<span style=\"color: #ff0000\">Left<\/span><span style=\"color: #0000ff\">=\"-10\"<\/span> <span style=\"color: #ff0000\">Canvas<\/span>.<span style=\"color: #ff0000\">Top<\/span><span style=\"color: #0000ff\">=\"-10\"<\/span> <span style=\"color: #ff0000\">RenderTransformOrigin<\/span><span style=\"color: #0000ff\">=\"0.5,0.5\"<\/span> <span style=\"color: #ff0000\">x:Name<\/span><span style=\"color: #0000ff\">=\"ellipse\"<\/span> <span style=\"color: #ff0000\">IsHitTestVisible<\/span><span style=\"color: #0000ff\">=\"False\"<\/span> <span style=\"color: #ff0000\">Visibility<\/span><span style=\"color: #0000ff\">=\"Collapsed\"<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum36\">  36:<\/span>                             <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Ellipse.RenderTransform<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum37\">  37:<\/span>                                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">ScaleTransform<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum38\">  38:<\/span>                             <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Ellipse.RenderTransform<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum39\">  39:<\/span>                             <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Ellipse.Fill<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum40\">  40:<\/span>                                 <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">RadialGradientBrush<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum41\">  41:<\/span>                                     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">GradientStop<\/span> <span style=\"color: #ff0000\">Color<\/span><span style=\"color: #0000ff\">=\"#00FF0000\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum42\">  42:<\/span>                                     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">GradientStop<\/span> <span style=\"color: #ff0000\">Color<\/span><span style=\"color: #0000ff\">=\"#FFFF0000\"<\/span> <span style=\"color: #ff0000\">Offset<\/span><span style=\"color: #0000ff\">=\"0.25\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum43\">  43:<\/span>                                     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">GradientStop<\/span> <span style=\"color: #ff0000\">Color<\/span><span style=\"color: #0000ff\">=\"#00FF0000\"<\/span> <span style=\"color: #ff0000\">Offset<\/span><span style=\"color: #0000ff\">=\"0.5\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum44\">  44:<\/span>                                     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">GradientStop<\/span> <span style=\"color: #ff0000\">Color<\/span><span style=\"color: #0000ff\">=\"#FFFF0000\"<\/span> <span style=\"color: #ff0000\">Offset<\/span><span style=\"color: #0000ff\">=\"0.75\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum45\">  45:<\/span>                                     <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">GradientStop<\/span> <span style=\"color: #ff0000\">Color<\/span><span style=\"color: #0000ff\">=\"#00FF0000\"<\/span> <span style=\"color: #ff0000\">Offset<\/span><span style=\"color: #0000ff\">=\"1\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum46\">  46:<\/span>                                 <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">RadialGradientBrush<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum47\">  47:<\/span>                             <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Ellipse.Fill<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum48\">  48:<\/span>                         <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Ellipse<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum49\">  49:<\/span>                         <span style=\"color: #0000ff\">&lt;<\/span><span style=\"color: #800000\">Image<\/span> <span style=\"color: #ff0000\">Height<\/span><span style=\"color: #0000ff\">=\"60\"<\/span> <span style=\"color: #ff0000\">Width<\/span><span style=\"color: #0000ff\">=\"60\"<\/span> <span style=\"color: #ff0000\">Canvas<\/span>.<span style=\"color: #ff0000\">Left<\/span><span style=\"color: #0000ff\">=\"-30\"<\/span> <span style=\"color: #ff0000\">Canvas<\/span>.<span style=\"color: #ff0000\">Top<\/span><span style=\"color: #0000ff\">=\"-30\"<\/span> <span style=\"color: #ff0000\">Source<\/span><span style=\"color: #0000ff\">=\"Images\/SuperMarket.png\"<\/span> <span style=\"color: #ff0000\">x:Name<\/span><span style=\"color: #0000ff\">=\"ellipse1\"<\/span> <span style=\"color: #0000ff\">\/&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum50\">  50:<\/span>                     <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">Canvas<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum51\">  51:<\/span>                 <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">ControlTemplate<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum52\">  52:<\/span>             <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">esriSymbols:MarkerSymbol.ControlTemplate<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px\"><span style=\"color: #606060\" id=\"lnum53\">  53:<\/span>         <span style=\"color: #0000ff\">&lt;\/<\/span><span style=\"color: #800000\">esriSymbols:MarkerSymbol<\/span><span style=\"color: #0000ff\">&gt;<\/span><\/pre>\n<p><!--CRLF--><\/div>\n<\/div>\n<p><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/clip_image00211.jpg\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"clip_image002[11]\" border=\"0\" alt=\"clip_image002[11]\" src=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/clip_image00211_thumb.jpg\" width=\"182\" height=\"263\"><\/a> <\/p>\n<p>\u3000\u3000\u597d\u4e86\uff0c\u5df2\u7ecf\u5b8c\u6210\u4e86\u6211\u4eec\u7684\u51c6\u5907\u5de5\u4f5c\u3002\u4e0b\u8282\u4e2d\uff0c\u6211\u4eec\u6765\u5b8c\u6210\u70b9\u51fb\u67e5\u8be2\uff08Identity\uff09\u7684\u529f\u80fd\u3002<br \/>\u3000\u3000\u76f8\u5173\u94fe\u63a5\uff1a <\/p>\n<p>\u8d85\u5e02\u4fe1\u606f\u7684shapefile\u4e0b\u8f7d\uff1a<br \/><a href=\"http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/supermarket_shp.zip\">http:\/\/blog.newnaw.com\/wp-content\/uploads\/2011\/03\/supermarket_shp.zip<\/a> <\/p>\n<p>Map\u63a7\u4ef6\u4e2d\u6dfb\u52a0\u56fe\u5c42\uff1a<a href=\"http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/help\/0166\/016600000019000000.htm\"><br \/>http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/help\/0166\/016600000019000000.htm<\/a> <\/p>\n<p>GraphicsLayer\u6982\u8ff0\uff1a<br \/><a href=\"http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/help\/0166\/01660000001q000000.htm\">http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/help\/0166\/01660000001q000000.htm<\/a><\/p>\n<p>GraphicsLayer\u8be6\u8ff0\uff1a<br \/><a href=\"http:\/\/bbs.esrichina-bj.cn\/ESRI\/thread-44892-1-1.html\">http:\/\/bbs.esrichina-bj.cn\/ESRI\/thread-44892-1-1.html<\/a><\/p>\n<p>FeatureLayer\u6982\u8ff0\uff1a<br \/><a href=\"http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/help\/0166\/016600000015000000.htm\">http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/help\/0166\/016600000015000000.htm<\/a><\/p>\n<p>\u56fe\u5c42\u7c7b\u578b\u5c0f\u7ed3\uff1a<br \/><a href=\"http:\/\/bbs.esrichina-bj.cn\/ESRI\/thread-45537-1-1.html\">http:\/\/bbs.esrichina-bj.cn\/ESRI\/thread-45537-1-1.html<\/a><\/p>\n<p>ArcGIS API for Windows Phone\/Silverlight\/WPF\u4e2d\u81ea\u5b9a\u4e49\u7b26\u53f7\uff1a<a href=\"http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/samples\/SymbolGalleryWeb\/start.htm\"><br \/>http:\/\/help.arcgis.com\/en\/webapi\/silverlight\/samples\/SymbolGalleryWeb\/start.htm<\/a> <\/p>\n<p>Silverlight\u4e2d\u7684StaticResource\uff1a<br \/><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/cc189045(v=vs.95).aspx\">http:\/\/msdn.microsoft.com\/en-us\/library\/cc189045(v=vs.95).aspx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u3000\u672c\u6587\u5185\u5bb9\uff1aGraphicsLayer\uff0cFeatureLayer\uff0c\u81ea\u5b9a\u4e49\u5730\u56fe\u7b26\u53f7\u3002\u3000\u3000\u6211\u4eec\u7684\u5e94\u7528\u573a\u666f\u662f\u5bf9\u8d85\u5e02\u6570\u636e\u8fdb\u884c\u5c55\u793a\uff0c\u67e5\u8be2\u548c\u5206\u6790\uff0c\u56e0\u6b64\u7b2c\u4e00\u6b65\u5f53\u7136\u662f\u8981\u5c06\u8d85\u5e02\u663e\u793a\u5728\u5730\u56fe\u4e4b\u4e0a\u3002\u5982\u6240\u6709\u7684GIS\u8f6f\u4ef6\u4e00\u6837\uff0c\u8981\u5c06\u6570\u636e\u52a0\u8f7d\u5230\u5730\u56fe\u91cc\u9762\uff0c\u9700\u8981\u56fe\u5c42\u7684\u6982\u5ff5\uff0c\u8fd9\u91cc\u6211\u4eec\u4e5f\u9700\u8981\u5408\u9002\u7684\u56fe\u5c42\uff0c\u5c06\u8d85\u5e02\u6570\u636e\u52a0\u8f7d\u8fdb\u6765\u3002\u3000\u3000\u5148\u770b\u4e00\u4e0bArcGIS API for Windows Phone\/Silverlight\/WPF\u4e2d\u7684\u4e3b\u8981\u56fe\u5c42\u7c7b\u578b\u3002 Layer&nbsp; |&#8211;TiledMapServiceLayer&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;ArcGISTiledMapServiceLayer&nbsp; |&#8211;DynamicLayer&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;DynamicMapServiceLayer&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;ArcGISDynamicMapServiceLayer&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;ArcGISImageServiceLayer&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;GPResultImageLayer&nbsp; |&#8211;GraphicsLayer&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8211;FeatureLayer&nbsp; |&#8211;ElementLayer \u3000\u3000Layer\u6700\u57fa\u672c\u7684\u57fa\u7c7b\uff0c\u5e38\u7528\u7684\u51e0\u79cd\u56fe\u5c42\u7c7b\u578b\u6211\u5df2\u7ecf\u7528\u7ea2\u8272\u6807\u8bb0\u51fa\u6765\u4e86\u3002\u524d\u4e24\u79cdArcGISTiledMapServiceLayer\u548cArcGISDynamicMapServiceLayer\u5206\u522b\u7528\u4e8e\u52a0\u8f7dArcGIS Server\u53d1\u5e03\u7684\u7f13\u5b58\u5730\u56fe\u670d\u52a1\u548c\u52a8\u6001\u5730\u56fe\u670d\u52a1\uff0c\u8fd9\u4e2a\u5728\u4e0a\u4e00\u8282\u4e2d\u5df2\u7ecf\u8bf4\u8fc7\u3002\u518d\u6765\u770b\u4e00\u4e0b\u4e2d\u95f4\u7684GraphicsLayer\u548cFeatureLayer\uff0c\u53ef\u4ee5\u8bf4\u8fd9\u662fAPI\u4e2d\u6700\u5e38\u7528\u7684\u4e24\u79cd\u56fe\u5c42\uff0c\u5927\u90e8\u5206\u7684\u7a0b\u5e8f\u529f\u80fd\u90fd\u8981\u57fa\u4e8e\u5b83\u4eec\u6765\u5b8c\u6210\u3002\u3000\u3000GraphicsLayer\u662f\u4fdd\u7559\u5728\u5185\u5b58\u4e2d\u7684\u4e00\u79cd\u56fe\u5c42\uff08\u4e0eArcMap\u3001ArcGIS Engine\u3001ArcGIS Server ADF\u7a0b\u5e8f\u4e2d\u7684\u76f8\u5e94\u6982\u5ff5\u7c7b\u4f3c\uff09\uff0c\u987e\u540d\u601d\u4e49\u662f\u5f88\u591aGraphic\u7684\u96c6\u5408\uff0c\u800c\u6240\u6709\u4e0e\u7528\u6237\u4ea4\u4e92\u7684\u5185\u5bb9\u901a\u5e38\u90fd\u7528Graphic\u6765\u663e\u793a\u3002\u6bd4\u5982\u591a\u8fb9\u5f62\u67e5\u8be2\u4e2d\u7528\u6237\u753b\u51fa\u7684\u591a\u8fb9\u5f62\uff0c\u5c5e\u6027\/\u7a7a\u95f4\u67e5\u8be2\u7ed3\u679c\u4e2d\u7684\u6240\u6709\u8981\u7d20\u7b49\u5185\u5bb9\uff0c\u90fd\u662fGraphic\u3002\u53ef\u4ee5\u8bf4\uff0c\u9664\u4e86\u5730\u56fe\u672c\u8eab\uff0c\u57fa\u672c\u4e0a\u770b\u5230\u7684\u6240\u6709\u4e0e\u5730\u7406\u4f4d\u7f6e\u6709\u5173\u7684\u4e1c\u897f\u90fd\u53ef\u4ee5\u7528Graphic\u6765\u8868\u793a\u3002Graphic\u5bf9\u8c61\u67093\u4e2a\u91cd\u8981\u7684\u5c5e\u6027\uff1aGeometry\uff0cSymbol\u548cAttributes\u3002Geometry\u4ee3\u8868\u4e86\u4e00\u4e2aGraphic\u7684\u51e0\u4f55\u5f62\u72b6\uff08\u53ef\u7591\u662f\u70b9\u3001\u7ebf\u3001\u9762\u4efb\u610f\u4e00\u79cd\uff09\u6216\u5730\u7406\u4f4d\u7f6e\uff0c\u800cSymbol\u5219\u8868\u793aGraphic\u7684\u5448\u73b0\u6837\u5b50\uff0c\u6bd4\u5982\u989c\u8272\u3001\u6548\u679c\uff0c\u540c\u65f6\u6709\u4e86\u8fd9\u4e24\u4e2a\u5c5e\u6027\uff08\u7f3a\u4e00\u4e0d\u53ef\uff09\uff0cGraphic\u5c31\u53ef\u4ee5\u663e\u793a\u5230\u5730\u56fe\u4e0a\u4e86\u3002\u800cAttributes\u662f\u952e\u503c\u5bf9\u96c6\u5408\uff0c\u53ef\u5728\u91cc\u9762\u5b58\u50a8\u4efb\u610f\u7c7b\u578b\u7684\u5bf9\u8c61\uff0c\u6bd4\u5982\u4e00\u4e2a\u8981\u7d20\u7684\u5c5e\u6027\u4fe1\u606f\u3002\u3000\u3000FeatureLayer\u7ee7\u627f\u81eaGraphicsLayer\uff0c\u5b83\u4e0e\u540e\u8005\u7684\u533a\u522b\u662f\uff0cGraphicsLayer\u4e2d\u7684Graphic\u90fd\u662f\u4eba\u4e3a\u521b\u5efa\u51fa\u6765\u7684\uff0c\u800cFeatureLayer\u4e2d\u7684Graphic\u90fd\u662f\u4eceArcGIS Server\u53d1\u5e03\u7684\u670d\u52a1\u4e2d\u8bfb\u53d6\u51fa\u6765\u7684\uff0c\u56e0\u6b64FeatureLayer\u6bd4GraphicsLayer\u591a\u4e86\u4e00\u4e2aURL\u5c5e\u6027\u3002\u8fd9\u4e2aURL\u901a\u5e38\u6307\u5411\u4e00\u4e2aArcGIS Server\u53d1\u5e03\u7684\uff0cMapService\u6216FeatureService\u7684\u5b50\u56fe\u5c42\uff08\u5bf9\u5e94\u4e00\u4e2aFeatureClass\uff09\u3002FeatureLayer\u6709\u4e86\u8fd9\u4e2aURL\u540e\uff0c\u5c31\u53ef\u4ee5\u8bfb\u53d6\u51fa\u8be5\u670d\u52a1\u5bf9\u5e94\u5b50\u56fe\u5c42\u91cc\u7684\u6240\u6709\u8981\u7d20\u5185\u5bb9\uff0c\u56e0\u6b64FeatureLayer\u91ccGraphic\u7684Geometry\u5c5e\u6027\u4f1a\u81ea\u52a8\u88abFeatureClass\u7684Shape\u5b57\u6bb5\u586b\u5145\uff0c\u800cGraphic\u7684Attributes\u5b57\u6bb5\u5219\u4f1a\u6839\u636e\u8981\u6c42\uff0c\u88abFeatureClass\u4e2d\u7684\u5c5e\u6027\u4fe1\u606f\u6240\u586b\u5145\u3002\u5982\u679c\u53d1\u5e03\u670d\u52a1\u7684\u670d\u52a1\u5668\u662fArcGIS Server 10\u7248\u672c\uff0c\u5219Graphic\u7684Symbol\u5c5e\u6027\u4f1a\u81ea\u52a8\u88ab\u670d\u52a1\u7684DrawingInfo\u4fe1\u606f\u586b\u5145\u3002\u53e6\u5916\uff0cFeatureLayer\u662f\u5ba2\u6237\u7aefAPI\u4e2d\u5bf9FeatureService\u7684\u552f\u4e00\u8f7d\u4f53\uff0c\u8fd9\u662f\u5b83\u53e6\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u4f5c\u7528\uff08\u4e5f\u662f\u4e3b\u8981\u4f5c\u7528\uff09\uff0c\u4ee5\u540e\u7684\u6587\u7ae0\u4e2d\u4f1a\u63d0\u5230\u3002\u3000\u3000ArcGIS API for Windows Phone\/Silverlight\/WPF\/Javascript\/Flex\/iOS\/Android\u90fd\u662f\u57fa\u4e8eArcGIS Server\u6240\u53d1\u5e03\u7684REST\u670d\u52a1\uff0c\u6240\u4ee5\uff0c\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u5c06\u8d85\u5e02\u6570\u636e\u7528ArcGIS Server\u53d1\u5e03\u6210MapService\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u4e0d\u5c5e\u4e8e\u672c\u6587\u8981\u8ba8\u8bba\u7684\u5185\u5bb9\uff0c\u4e0d\u719f\u6089\u7684\u540c\u5b66\u53ef\u81ea\u5df1\u67e5\u9605\u76f8\u5173\u8d44\u6599\u3002\u8d85\u5e02\u56fe\u5c42\u7684\u5c5e\u6027\u8868\u5982\u4e0b\uff0c\u524d\u9762\u662f\u6bcf\u4e2a\u5e97\u9762\u7684\u57fa\u672c\u4fe1\u606f\uff0c\u540e\u9762\u662f\u8be5\u6708\u6bcf\u5929\u7684\u8425\u4e1a\u989d\u4fe1\u606f\uff1a \u3000\u3000\u8d85\u5e02\u7684ShapeFile\u5728\u8fd9\uff0c\u70b9\u6211\u4e0b\u8f7d\u3002\u5728\u6211\u672c\u673a\u4e0a\u53d1\u5e03\u51fa\u6765\u7684\u5730\u5740\u662f\uff1ahttp:\/\/localhost\/ArcGIS\/rest\/services\/supermarket\/MapServer\/0\u3002\u3000\u3000\u73b0\u5728\u6253\u5f00\u4e0a\u4e00\u8282\u6211\u4eec\u5b8c\u6210\u7684HelloMap\u7a0b\u5e8f\uff0c\u6765\u7ee7\u7eed\u6539\u9020\u4e4b\u3002\u5e95\u56fe\u670d\u52a1\u6211\u4eec\u4f9d\u65e7\u4f7f\u7528ArcGIS Online\u63d0\u4f9b\u7684StreetMap\u6570\u636ehttp:\/\/services.arcgisonline.com\/ArcGIS\/rest\/services\/World_Street_Map\/MapServer\uff0c\u7136\u540e\u6211\u4eec\u5728Map\u63a7\u4ef6\u4e2d\u52a0\u5165\u4e00\u4e2aFeatureLayer\uff0c\u5176URL\u5c5e\u6027\u6307\u5411\u53d1\u5e03\u5728\u672c\u673a\u7684\u8d85\u5e02\u5730\u56fe\u670d\u52a1\u3002\u7531\u4e8e\u6211\u4eec\u7684\u6570\u636e\u8303\u56f4\u4ec5\u9650\u4e8e\u5317\u4eac\u5e02\u9644\u8fd1\uff0c\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u5229\u7528Map\u7684Extent\u5c5e\u6027\u6307\u5b9a\u5730\u56fe\u7684\u521d\u59cb\u8303\u56f4\uff0c\u4ee3\u7801\u73b0\u5728\u770b\u8d77\u6765\u662f\u8fd9\u6837\u7684\uff1a 1: &lt;esri:Map x:Name=&#8221;map1&#8243; Extent=&#8221;12926244,4840437,12982108,4878585&#8243;&gt; 2: &lt;esri:Map.Layers&gt; 3: &lt;esri:ArcGISTiledMapServiceLayer ID=&#8221;BaseMap&#8221; Url=&#8221;http:\/\/services.arcgisonline.com\/ArcGIS\/rest\/services\/World_Street_Map\/MapServer&#8221; \/&gt; 4: &lt;esri:FeatureLayer ID=&#8221;BusinessLayer&#8221; 5: Url=&#8221;http:\/\/localhost\/arcgis\/rest\/services\/supermarket\/MapServer\/0&#8243; 6: OutFields=&#8221;*&#8221; \/&gt; 7: &lt;\/esri:Map.Layers&gt; 8: &lt;\/esri:Map&gt; \u3000\u3000\u5176\u4e2dFeatureLayer\u7684OutFields\u5c5e\u6027\u4ee3\u8868\u4ece\u670d\u52a1\u5668\u7aef\u8fd4\u56de\u7684\u5c5e\u6027\u5b57\u6bb5\uff0c\u8fd9\u91cc\u201c*\u201d\u8868\u793a\u8fd4\u56de\u6240\u6709\u5c5e\u6027\u5b57\u6bb5\uff0c\u4e5f\u5c31\u662f\u6211\u4eec\u7684Graphic\u5bf9\u8c61\u7684Attributes\u91cc\u81ea\u52a8\u586b\u5145\u4e86\u8d85\u5e02\u7684\u6240\u6709\u5c5e\u6027\u503c\u3002\u3000\u3000\u9700\u8981\u6ce8\u610f\uff0c\u5728xaml\u4ee3\u7801\u4e2d\uff0c\u6700\u9760\u4e0a\u7684\u56fe\u5c42\u5728\u663e\u793a\u65f6\u4f1a\u51fa\u73b0\u5728Map\u63a7\u4ef6\u7684\u6700\u5e95\u7aef\uff0c\u5982\u56fe\uff1a \u3000\u3000Silverlight\u4e2d\uff0c\u53ef\u4ee5\u5c06\u5e38\u7528\u7684\u4efb\u4f55\u8d44\u6e90\u4fdd\u5b58\u5230Resource\u96c6\u5408\u4e2d\uff0c\u4ee5\u4fbf\u91cd\u590d\u5229\u7528\u3002\u56e0\u6b64\u6211\u4eec\u5c06\u4e24\u4e2a\u670d\u52a1\u5730\u5740\u4fdd\u5b58\u5230App.xaml\u6587\u4ef6\u7684ResourceDictionary\u4e2d\uff08\u53ef\u5728\u6240\u6709\u9875\u9762\u4e2d\u76f4\u63a5\u5f15\u7528\uff09\uff1a 1: &hellip; <a href=\"https:\/\/blog.newnaw.com\/?p=688\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">ArcGIS API for Windows Phone\u5f00\u53d1\u5b9e\u4f8b(3):\u5728\u5730\u56fe\u4e0a\u663e\u793a\u8d85\u5e02\u6570\u636e<\/span> <span class=\"meta-nav\">&raquo;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[18,25],"_links":{"self":[{"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=\/wp\/v2\/posts\/688"}],"collection":[{"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=688"}],"version-history":[{"count":0,"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=\/wp\/v2\/posts\/688\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.newnaw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}