I need Help with esri experience builder SDK. I'm Creating a new draw function from scratch. and i want to load some graphics and render the graphic on the map but i dont receive any errors yet the marker doesn't show on the map. please advise.
geometries.forEach((geometry) => {
let newGeom = Geometry.fromJSON(geometry.geometry);
const markerSymbol = {
type: 'simple-marker',
style: 'circle',
size: 10,
color: [255, 255, 255, 0.8],
outline: {
color: [211, 132, 80, 0.7],
width: 10,
},
};
const pointGraphic = new Graphic({
geometry: newGeom,
symbol: markerSymbol,
});
graphicsLayer.add(pointGraphic);
});
jmv.view.map.add(graphicsLayer);