I'm creating an app with 4.18 and have found that graphics, added to a graphics layer in the map, only appear after I manually zoom in on first creation. They are present in the layer if I log it to the console but not visible. If I zoom in, then they draw. I have tried changing the view extent after the creation but that does not refresh the graphics
I am creating the empty graphics layer when the map and mapview are first created and then adding graphics in subsequent processes. I need the graphics to be visible to the user when when they enter the application.
Any suggestions would be greatly appreciated.
Solved! Go to Solution.
Hi Andy, I know the fix is imminent but just wondered if you knew of any trick around this in the short-term? I have tried programmatically zooming the map afterwards and changing the visibility of the graphicslayer to see if those actions caused a refresh without a manual zoom requirement.