Abyss
Abyss

Reputation: 5

Handle external SVG path hover/clicked

My problem is that i have an svg file with 5 big paths so i import the svg and add it into an iframe,

 return (
            <div className='mapContainer'>
                <iframe src={map} title="map" width="400" height="300" frameBorder="none"/>
            </div>
    );

is there any way i can get the hover or (and) click event on each path?

Upvotes: 0

Views: 117

Answers (0)

Related Questions