-
I'm not sure what the correct terminology is, but I would like mask some parts of the map to give focus to certain parts like the center. I've done it before with CSS on Mapbox but I can't figure where to add this class using RGMA. DEMO: This is the jsx the my Map Component returns:
|
Beta Was this translation helpful? Give feedback.
Answered by
nonoumasy
Apr 23, 2022
Replies: 1 comment
-
.fog { |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nonoumasy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.fog {
position: absolute;
inset: 0;
background: radial-gradient(
rgba(255, 255, 255, 0.1) 50%,
rgba(255, 255, 255, 0.9) 75%,
rgba(255, 255, 255, 1) 100%
);
pointer-events: none;
}