<?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: Adjust theme of vector layer using a json file in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adjust-theme-of-vector-layer-using-a-json-file/m-p/1239509#M5919</link>
    <description>&lt;P&gt;Use the following constructor, and set the style using the "ItemResourceCache"&lt;/P&gt;&lt;LI-CODE lang="kotlin"&gt;public ArcGISVectorTiledLayer​(VectorTileCache vectorTileCache, ItemResourceCache itemResourceCache)&lt;/LI-CODE&gt;&lt;P&gt;Creates a new ArcGISVectorTiledLayer from the specified VectorTileCache and ItemResourceCache objects. If itemResourceCache is null, it is equivalent to the constructor ArcGISVectorTiledLayer(VectorTileCache).&lt;BR /&gt;&lt;STRONG&gt;Parameter&lt;/STRONG&gt;s:&lt;BR /&gt;vectorTileCache - the vector tile cache to use&lt;BR /&gt;itemResourceCache - the vector tile style to use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out the Android sample:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/main/kotlin/arcgis-vector-tiled-layer-custom-style" target="_blank" rel="noopener"&gt;ArcGIS vector tiled layer (custom style)&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2022 02:04:23 GMT</pubDate>
    <dc:creator>Shubham_Sharma</dc:creator>
    <dc:date>2022-12-09T02:04:23Z</dc:date>
    <item>
      <title>Adjust theme of vector layer using a json file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adjust-theme-of-vector-layer-using-a-json-file/m-p/1239053#M5907</link>
      <description>&lt;P&gt;We have a vector layer style as .json file on the device. In the web sdk we are able to change the style of a vector layer using the setStyle method.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/vectortilelayer-amd.html#setstyle" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/3/jsapi/vectortilelayer-amd.html#setstyle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This method is not available on Android and iOS. Is there another way of doing that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 08:46:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adjust-theme-of-vector-layer-using-a-json-file/m-p/1239053#M5907</guid>
      <dc:creator>JulianBissekkou</dc:creator>
      <dc:date>2022-12-08T08:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust theme of vector layer using a json file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adjust-theme-of-vector-layer-using-a-json-file/m-p/1239509#M5919</link>
      <description>&lt;P&gt;Use the following constructor, and set the style using the "ItemResourceCache"&lt;/P&gt;&lt;LI-CODE lang="kotlin"&gt;public ArcGISVectorTiledLayer​(VectorTileCache vectorTileCache, ItemResourceCache itemResourceCache)&lt;/LI-CODE&gt;&lt;P&gt;Creates a new ArcGISVectorTiledLayer from the specified VectorTileCache and ItemResourceCache objects. If itemResourceCache is null, it is equivalent to the constructor ArcGISVectorTiledLayer(VectorTileCache).&lt;BR /&gt;&lt;STRONG&gt;Parameter&lt;/STRONG&gt;s:&lt;BR /&gt;vectorTileCache - the vector tile cache to use&lt;BR /&gt;itemResourceCache - the vector tile style to use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out the Android sample:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/main/kotlin/arcgis-vector-tiled-layer-custom-style" target="_blank" rel="noopener"&gt;ArcGIS vector tiled layer (custom style)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 02:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adjust-theme-of-vector-layer-using-a-json-file/m-p/1239509#M5919</guid>
      <dc:creator>Shubham_Sharma</dc:creator>
      <dc:date>2022-12-09T02:04:23Z</dc:date>
    </item>
  </channel>
</rss>

