<?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 Mapbox GL .json style file issue for type=line in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapbox-gl-json-style-file-issue-for-type-line/m-p/333986#M30862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In JS API v3.19 there appears to be a bug which requires the JSON style file for a Mapbox GL style to include a 'layout' property, even if it is empty. The absence of a 'layout' causes the map to crash. We've only seen this issue when the layer type is 'line' but it may also occur for other layer types. Manually adding ("layout: {}") to root.json fixes the problem but this is tedious when there are many layers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this be corrected in future versions of the API? We have not tested with v3.20 directly, as we encountered the problem when adding a VectorTileLayer to Portal v10.5.0 which uses JS API v3.19 and our testing has been limited to Portal so far.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jun 2017 18:29:40 GMT</pubDate>
    <dc:creator>RyanClancy</dc:creator>
    <dc:date>2017-06-28T18:29:40Z</dc:date>
    <item>
      <title>Mapbox GL .json style file issue for type=line</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapbox-gl-json-style-file-issue-for-type-line/m-p/333986#M30862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In JS API v3.19 there appears to be a bug which requires the JSON style file for a Mapbox GL style to include a 'layout' property, even if it is empty. The absence of a 'layout' causes the map to crash. We've only seen this issue when the layer type is 'line' but it may also occur for other layer types. Manually adding ("layout: {}") to root.json fixes the problem but this is tedious when there are many layers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this be corrected in future versions of the API? We have not tested with v3.20 directly, as we encountered the problem when adding a VectorTileLayer to Portal v10.5.0 which uses JS API v3.19 and our testing has been limited to Portal so far.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 18:29:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapbox-gl-json-style-file-issue-for-type-line/m-p/333986#M30862</guid>
      <dc:creator>RyanClancy</dc:creator>
      <dc:date>2017-06-28T18:29:40Z</dc:date>
    </item>
  </channel>
</rss>

