I am working on a project in react and I am trying to implement an interactive map.
But I have some problems while trying to implement it. I created a function that retrieves all the HTML of the map, the map is then displayed, but it doesn't work. I think I am not loading the JS files of the map correctly.
<script src="./js/jquery-1.10.2.min.js"></script>
<script src="./js/jquery.maphighlight.min.js"></script>
<script src="./js/imageMapResizer.min.js"></script>
<script src="./js/scripts.js"></script>
I am doing it in this way in the return
of the component