AnsweredAssumed Answered

Can PictureMarkerSymbol will be able to load image from Base64 string content instead of url?

Question asked by umeshmanilal on Mar 20, 2018
Latest reply on Mar 20, 2018 by umeshmanilal
const weatherSymbol = {
type: 'picture-marker',
url: base64StringConent,
contentType: 'image/png',
width: '32px',
height: '32px',
yoffset: '24px'
};
Here my requirement is to load images which are received from back-end services (say REST service). Which will receive a base64 decoded string. Can we encode this value and assign to PictureMarkerSymbol for dynamic image generation?

Outcomes