<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Please Help...Can't find any working sample for WMTS layer... in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748131#M16549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Chenfeng,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resourcesbeta.arcgis.com/en/webapis/flex-api/samples/01nq/01nq0000006n000000.htm"&gt;WMTS sample&lt;/A&gt; - ArcGIS API for FLEX 3.0 beta&lt;BR /&gt;the same as &lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/01nq/01nq0000006n000000.htm"&gt;WMTS sample&lt;/A&gt; - ArcGIS API for FLEX 2.5&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reply. But I saw this long time ago and the most important code of file "WMTSLayer.as" is missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll be very appropriately if you could find a copy of that file. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Apr 2012 04:37:51 GMT</pubDate>
    <dc:creator>ChenfengXiong</dc:creator>
    <dc:date>2012-04-08T04:37:51Z</dc:date>
    <item>
      <title>Please Help...Can't find any working sample for WMTS layer...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748129#M16547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I searched through out the web and help files, no actual working sample using WMTSLayer added in API v2.5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to build one but failed. Experts! please tell me where am I wrong? I tried both two follwing methods but neither map load and no error message at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Method1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;esri:WMTSLayer id="wMTSLayer" &amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://www.simal.ryerson.ca:8080/geoserver/WoodStock/wmts" &amp;nbsp;&amp;nbsp;&amp;nbsp; serviceMode="KVP" &amp;nbsp;&amp;nbsp;&amp;nbsp; layerId="0" &amp;nbsp;&amp;nbsp;&amp;nbsp; imageFormat="png"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/esri:WMTSLayer&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Method2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp; public function initialize() &amp;nbsp;&amp;nbsp; { &amp;nbsp;&amp;nbsp;&amp;nbsp; var wmtsLayer:WMTSLayer = new WMTSLayer("http://www.simal.ryerson.ca:8080/geoserver/WoodStock/wmts"); &amp;nbsp;&amp;nbsp;&amp;nbsp; wmtsLayer.alpha = 1; &amp;nbsp;&amp;nbsp;&amp;nbsp; wmtsLayer.visible = true; &amp;nbsp;&amp;nbsp;&amp;nbsp; mainMap.addLayer(wmtsLayer,2); &amp;nbsp;&amp;nbsp; } &amp;lt;esri:Map id="mainMap" /&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S: I also tried to extend the TiledMapServiceLayer but the sample in the help missing the code of most important file "WMTSLayer.as" and I don't know which way is working...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Apr 2012 17:32:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748129#M16547</guid>
      <dc:creator>ChenfengXiong</dc:creator>
      <dc:date>2012-04-07T17:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help...Can't find any working sample for WMTS layer...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748130#M16548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chenfeng,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I searched through out the web and help files, no actual working sample using WMTSLayer ... &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resourcesbeta.arcgis.com/en/webapis/flex-api/samples/01nq/01nq0000006n000000.htm"&gt;WMTS sample&lt;/A&gt;&lt;SPAN&gt; - ArcGIS API for FLEX 3.0 (beta)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/01nq/01nq0000006n000000.htm"&gt;WMTS sample&lt;/A&gt;&lt;SPAN&gt; - ArcGIS API for FLEX 2.5 (last release)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 04:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748130#M16548</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2012-04-08T04:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help...Can't find any working sample for WMTS layer...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748131#M16549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Chenfeng,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resourcesbeta.arcgis.com/en/webapis/flex-api/samples/01nq/01nq0000006n000000.htm"&gt;WMTS sample&lt;/A&gt; - ArcGIS API for FLEX 3.0 beta&lt;BR /&gt;the same as &lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/01nq/01nq0000006n000000.htm"&gt;WMTS sample&lt;/A&gt; - ArcGIS API for FLEX 2.5&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reply. But I saw this long time ago and the most important code of file "WMTSLayer.as" is missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll be very appropriately if you could find a copy of that file. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 04:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748131#M16549</guid>
      <dc:creator>ChenfengXiong</dc:creator>
      <dc:date>2012-04-08T04:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help...Can't find any working sample for WMTS layer...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748132#M16550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chenfeng,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; You can find all the files you need including the WMTSLayer.as in the Flex API download.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcgis_api_for_flex_3_0pr\ArcGIS_Flex\samples\src\com\esri\ags\samples\WMTSLayer.as&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 11:20:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748132#M16550</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-04-08T11:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help...Can't find any working sample for WMTS layer...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748133#M16551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Samples I linked to you are samples for ArcGIS API for FLEX - so all links to skins, layers classes, other resources ... in samples are links to files included to API&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]13328[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you read carefully notation in sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;nbsp; &amp;lt;!--&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;&lt;STRONG&gt;@@includeFiles com/esri/ags/samples/WMTSLayer.as&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:&amp;quot;#008000&amp;quot;;"&gt;- not a namespace! what is it?&lt;/SPAN&gt; &lt;BR /&gt; &lt;BR /&gt; This sample shows how to add a Web Map Tile Service(WMTS) as a custom layer.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; The ArcGIS API for Flex allows for extending the API&amp;nbsp; &lt;BR /&gt; to access layer types not included as part of the API.&amp;nbsp; &lt;BR /&gt; In this example, tiled layers (TiledMapServiceLayer) is extended to access WMTS tiles.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; Steps involved:&amp;nbsp; &lt;BR /&gt; 1. Creating new ActionScript class(WMTSLayer.as) that extends TiledMapServiceLayer.&amp;nbsp; &lt;BR /&gt; 2. Hardcoding some of the configuration settings:&amp;nbsp; &lt;BR /&gt; fullExtent, initialExtent, spatialReference, tileInfo, and units.&amp;nbsp; &lt;BR /&gt; 3. Overriding the protected function getTileURL() to obtain the appropriate&amp;nbsp; &lt;BR /&gt; tiles and place them accurately on the map.&amp;nbsp; &lt;BR /&gt; 4. Using the extended class with MXML or ActionScript &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; &lt;BR /&gt; --&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 11:34:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/please-help-can-t-find-any-working-sample-for-wmts/m-p/748133#M16551</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2012-04-08T11:34:08Z</dc:date>
    </item>
  </channel>
</rss>

