Replies: 1 comment
-
Hello, although I have not used react-map-gl, but I hope my answer can help you, example: let box=document.getElementById("box"); box.remove(); delete it, and then Create a new DOM node through document.createElement("h2") and give it a name to manipulate it through CSS. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a map made with react-map-gl. It works fine, but I can't change the color of the geolocation indicator.
Here is the code:
How to fix this? Also, is it possible to change the color of the geolocator update button(located at the top left of the map)?
Beta Was this translation helpful? Give feedback.
All reactions