Black frame on Google Map


I am getting a black frame when using a Map component that I don’t know how to get rid of. When I use it on my physical device it is the same, only that the map is showing instead of the text, but the black frame is still there.

How can I get rid of it?

I don’t know why the map was being added with a black border of 50 and some radius. I had deleted it many times and put it back and it was adding it like this for some reason.