<?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 Changing VectorTileLayer appereance on map. in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/changing-vectortilelayer-appereance-on-map/m-p/1330341#M2791</link>
    <description>&lt;P&gt;I have a&amp;nbsp;VectorTileLayer that contains floor plan visuals for some buildings, I need to change the color of certain room in the building base on information obtained from a different source. I found many resources and ways for changing Feature Layer things, but nothing for VectorTileLayers. Is there anyway to do this, and if there is not is their anyway to turn a&amp;nbsp;VectorTileLayer&amp;nbsp; into a FeatureLayer.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 19:01:18 GMT</pubDate>
    <dc:creator>MitchellMecca</dc:creator>
    <dc:date>2023-09-19T19:01:18Z</dc:date>
    <item>
      <title>Changing VectorTileLayer appereance on map.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/changing-vectortilelayer-appereance-on-map/m-p/1330341#M2791</link>
      <description>&lt;P&gt;I have a&amp;nbsp;VectorTileLayer that contains floor plan visuals for some buildings, I need to change the color of certain room in the building base on information obtained from a different source. I found many resources and ways for changing Feature Layer things, but nothing for VectorTileLayers. Is there anyway to do this, and if there is not is their anyway to turn a&amp;nbsp;VectorTileLayer&amp;nbsp; into a FeatureLayer.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 19:01:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/changing-vectortilelayer-appereance-on-map/m-p/1330341#M2791</guid>
      <dc:creator>MitchellMecca</dc:creator>
      <dc:date>2023-09-19T19:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing VectorTileLayer appereance on map.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/changing-vectortilelayer-appereance-on-map/m-p/1333754#M2799</link>
      <description>&lt;P&gt;Hi MitchellMecca,&lt;BR /&gt;Thank you for reaching out with your question.The &lt;A href="https://developers.arcgis.com/rest/basemap-styles/" target="_blank" rel="noopener"&gt;basemaps styles API&lt;/A&gt; does not provide direct means for modifying the appearance of Vector Tile Layers or Styles. However, there are a couple of approaches you can consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Firstly, for offline workflows, you can reuse the same vtpk tiles with a different offline style using the item resource cache. This allows you to customize the appearance of the &lt;EM&gt;VectorTileLayer&lt;/EM&gt; for offline use.&lt;/LI&gt;&lt;LI&gt;For online workflows, changing the style of a &lt;EM&gt;VectorTileLayer&lt;/EM&gt; on the fly is not supported. However, you can create a new basemap with the &lt;EM&gt;BasemapStyle&lt;/EM&gt; enum constructor to achieve the desired appearance. It's important to note that a basemap can be made up of any arbitrary layers, so it's not correct to assume that it has a style or can be styled.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Additionally, you can utilize the &lt;A href="https://www.arcgis.com/apps/vtseditor/en/#/" target="_blank" rel="noopener"&gt;Vector Tile Style Editor&lt;/A&gt; to make changes to individual layers within a Vector Tile Style and save it as a custom style. This &lt;A href="https://developers.arcgis.com/rest/basemap-styles/styles-items-item-id-get/" target="_self"&gt;custom style can then be requested&lt;/A&gt; and used later on to display the modified appearance of the &lt;EM&gt;VectorTileLayer&lt;/EM&gt;.&lt;BR /&gt;&lt;BR /&gt;I would be interested to learn more about your specific use-case. Understanding your requirements and challenges can provide valuable insights for our product development ideas. Please feel free to share more details so that we can better assist you.&lt;/P&gt;&lt;P&gt;I hope this information helps! If you have any further questions or need additional assistance, please don't hesitate to ask.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Peter Dimitrov&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 14:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/changing-vectortilelayer-appereance-on-map/m-p/1333754#M2799</guid>
      <dc:creator>PeterDimitrov1</dc:creator>
      <dc:date>2023-09-29T14:35:15Z</dc:date>
    </item>
  </channel>
</rss>

