Hi - I'm using version 4.18 of the api and am adding a polygon graphic and a point graphic (text label)l to a map using the addMany method. After adding the graphics I pan to the center of the polygon and set the zoom level to 16. The problem is that the user needs to zoom the map manually for the label to appear. Does anyone know how I can fix this problem? I'm guessing the text label probably hasnt been added to the map yet when the zoom and center occur in my code below
Thanks
Pete
graphicsLayer.addMany([polygonGraphic, ptGraphic]);
view.zoom = 16;
view.center = polygonGraphic.geometry.extent.center;