I'm getting the following error:
"Cannot read properties of null (reading 'src')"
it comes when I try to load the map on the screen with a container visible property. I'm appending the markers on the data action's on after fetch and I want to visible the map when the marker list has the data.
inside the map container the visible property is: Not markerlist.empty
and whenever the screens loads the following error comes and map is still hidden, but when I refresh the tab, error goes and I can see the map.
can someone please let me know how can I improve this?
Try using conditional style of display:none instead of using the visible property.
Or else : if you share an oml, someone will take a look for sure.