<?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 Cannot read property 'transparency' of undefined in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-read-property-transparency-of-undefined/m-p/390695#M36062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the following code and passing a public map GUID&amp;nbsp;produces the following error when I've created a Layer with notes (the notes contain a symbol (point / marker)).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note: If I convert the below to use version 3.x of the API, the layer is rendered correctly.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;script&amp;gt;
require([
&amp;nbsp; "esri/WebMap",
&amp;nbsp; "esri/views/MapView",
&amp;nbsp; "dojo/domReady!"
], function(WebMap, MapView){
&amp;nbsp; var guid = "PUBLIC_WEB_MAP_GUID";
&amp;nbsp; var map = new WebMap({
&amp;nbsp;&amp;nbsp;&amp;nbsp; portalItem: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: guid
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp; });
&amp;nbsp; var view = new MapView({
&amp;nbsp;&amp;nbsp;&amp;nbsp; container: "map",&amp;nbsp; // Reference to the scene div created in step 5
&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map,&amp;nbsp; // Reference to the map object created before the scene
&amp;nbsp; });
});
&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;Is there a resolution to the above using JS API 4.x&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 16:25:10 GMT</pubDate>
    <dc:creator>LukeSteadman</dc:creator>
    <dc:date>2021-12-12T16:25:10Z</dc:date>
    <item>
      <title>Cannot read property 'transparency' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-read-property-transparency-of-undefined/m-p/390695#M36062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the following code and passing a public map GUID&amp;nbsp;produces the following error when I've created a Layer with notes (the notes contain a symbol (point / marker)).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note: If I convert the below to use version 3.x of the API, the layer is rendered correctly.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;script&amp;gt;
require([
&amp;nbsp; "esri/WebMap",
&amp;nbsp; "esri/views/MapView",
&amp;nbsp; "dojo/domReady!"
], function(WebMap, MapView){
&amp;nbsp; var guid = "PUBLIC_WEB_MAP_GUID";
&amp;nbsp; var map = new WebMap({
&amp;nbsp;&amp;nbsp;&amp;nbsp; portalItem: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: guid
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp; });
&amp;nbsp; var view = new MapView({
&amp;nbsp;&amp;nbsp;&amp;nbsp; container: "map",&amp;nbsp; // Reference to the scene div created in step 5
&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map,&amp;nbsp; // Reference to the map object created before the scene
&amp;nbsp; });
});
&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;Is there a resolution to the above using JS API 4.x&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-read-property-transparency-of-undefined/m-p/390695#M36062</guid>
      <dc:creator>LukeSteadman</dc:creator>
      <dc:date>2021-12-12T16:25:10Z</dc:date>
    </item>
  </channel>
</rss>

