Answer the question
In order to leave comments, you need to log in
How to implement a map?
Good afternoon! Can you please tell me the best way to implement the map?
You need to draw a map of the United States and lat, long
bring certain objects to it, like so here
you just need to take something easier and free.
React project.
The question is if there is a svg map how to add these elements?
I would be grateful for any advice on this topic)
Answer the question
In order to leave comments, you need to log in
I solved a similar problem some time ago and used the following library https://www.react-simple-maps.io/
There, the map is simple, you can display custom markers, and limit geography to the US borders
on svg it is necessary to write an eleptic coordinate converter. I would take the library https://leafletjs.com/ - the simplest of the free ones.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question