I used the picture maker with no issues. You have to make sure that the png is accessible by everyone.
So, copy the url by expanding the : _globalGISUrl and append the rest of the string to the browser url.
Not sure, if the variable _globalGISUrl contains a '/' at the end, otherwise you will need to add it like:
"/Images/marker/inspection-map-markers-no-status.png
In my case, I copied and pasted the url:
to see if I can see the png.
var graphic = new Graphic({
geometry: {
type: "point",
latitude: evt.mapPoint.latitude,
longitude: evt.mapPoint.longitude,
spatialReference: view.spatialReference,
},
symbol: {
type: "picture-marker",
url: "https://static.arcgis.com/images/Symbols/Animated/EnlargeRotatingRedMarkerSymbol.png",
height: "20px",
width: "20px",
},
});