Select to view content in your preferred language

Catching Errors from PictureMarkerSymbol load

237
0
10-19-2024 02:54 AM
Aeseir
by
Frequent Contributor

I have scenario where we store the graphics which contain PictureMarkerSymbol in array of JSON.

Then when user needs them, the array of graphics is added to graphicsLayer to be displayed.

Problem I'm encountering is that sometimes there are broken links in the PictureMarkerSymbols, so the graphic will fail to load.

I am trying to figure out how to catch when a graphic has a broken picturemarkersymbol so that I can do something about it.

0 Kudos
0 Replies