react-map-interaction
react-map-interaction copied to clipboard
Having Trouble with Interactive Components on the Map
Hey I'm trying to get some markers to show up on the "map" area and I'm having some issues getting them to interact properly with the library. I'd like to have the markers stay on the same place of the map (currently they change place if the size of the map element changes) and to have tooltip modals that pop up when hovered or clicked that always have a scale of 1. I can get the tooltips to line up if I put them inside of the map and use the transform:translate, but then they change scale if I zoom in or out. If I put them outside of the map, I can't get them to line up with the markers.
Any tips on how I could implement this?