P
P
Pavel Didenko2019-01-31 02:07:32
Yandex maps
Pavel Didenko, 2019-01-31 02:07:32

Which Maps API to use for React.js SPA?

I'm doing a test job on React.js and ran into a problem. In SPA, you need to enter addresses in your own input (not the one built into the maps). A list is formed from the entered addresses, and when each address is added, a dot is placed on the map. The points are connected by lines and build a route.
I actually dug around in search of the Yandex maps API for react and found only 2:
https://react-yandex-maps.now.sh and https://github.com/effrenus/yandex-map-react
Neither one nor the other there is no necessary functionality, at least the documentation is very limited. Has anyone come across a similar one and dug up a good wrapper for the API? If through the Google API, then it will also do.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-02-01
@0xD34F

there is no required functionality <...> Has anyone come across this and dug up a good wrapper for the API?

What do you mean by "good wrapper"? When the "required functionality" is wrapped in a function сделатьКрасиво, and you yourself do not need to work either with your head or with your hands? No, there is not and will not be.
Using react-yandex-maps, the functionality you need is implemented quite simply, for example . Finish it, and you will be happy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question