AnsweredAssumed Answered

Using url property of PictureMarkerSymbol on 3d map

Question asked by zmarble on Mar 14, 2017
Latest reply on Mar 16, 2017 by zmarble

The API for JavaScript reference says that PictureMarkerSymbol can render Point graphics in either a 2D MapView or 3D SceneView using an image. I can get the example to work on a 2D map but when using a 3D map, nothing is rendered.


Trying to test, I changed the url from a web http URL to a data URI. When I did that, it rendered correctly in 2D and 3D.


I don't believe it is a CORS problem because: 1) As stated the URL worked on 2D map, 2) I also tried a locally hosted image with a relative path, and 3) Looking at the new Symbol Playground I am seeing the same behavior. If you click on PictureMarkerSymbol you see a yellow square with black JS drawn over Southern California, but if you switch to 3D, it disappears.


Since it's not working on the esri playground I think it must be a code issue instead of a configuration issue. So is this a bug in the API the way the url property is used? Or do you have to include extra steps to make it render?