AnsweredAssumed Answered

Cannot read property 'transparency' of undefined

Question asked by luke.steadman on Sep 20, 2016

Using the following code and passing a public map GUID produces the following error when I've created a Layer with notes (the notes contain a symbol (point / marker)). 

 

Note: If I convert the below to use version 3.x of the API, the layer is rendered correctly.

 

<script>
require([
  "esri/WebMap",
  "esri/views/MapView",
  "dojo/domReady!"
], function(WebMap, MapView){
  var guid = "PUBLIC_WEB_MAP_GUID";
  var map = new WebMap({
    portalItem: {
      id: guid
    }
  });
  var view = new MapView({
    container: "map",  // Reference to the scene div created in step 5
    map: map,  // Reference to the map object created before the scene
  });
});
</script>

Is there a resolution to the above using JS API 4.x

Outcomes