Answer the question
In order to leave comments, you need to log in
What solution to choose if you need cards?
P.S. everything further is planned to be implemented in JS, all APIs in JS
Good time to all, dear Khabarovsk residents)
What solution to use if I need to connect maps to the application, with the following features:
1) Add marks to the map (with coordinates or at an address in the city)
2 ) You may have to draw the route
3) ... somehow interact with the maps (prospect for the future)
Yandex API imposes certain corporate responsibilities, including a fee (and you will most likely have to pay, because the project is planned to be large)
I would happily connect a leaflet to OpenStreetMaps if I was sure they were capable of doing the tasks described above. The ability to plot a route and add a label to an address, as well as search by address, is very important.
I asked this question because there is a lot of heterogeneous information on the Internet, and I did not find specifics on the problems that interest me.
I would be glad if someone experienced in this regard throws off code samples, how best to connect it, etc. Or at least share sources of literature.
Thank you!
Answer the question
In order to leave comments, you need to log in
1) geocoding - coordinates at - https://wiki.openstreetmap.org/wiki/Nominatim
2) routing engines - https://wiki.openstreetmap.org/wiki/Routing
And although the OSM community provides these services for free, it is not means that you can sit on the neck. As soon as you start generating a noticeable load, you will be banned. Since it is assumed that you deploy these solutions on your hardware and support yourself. Or do not worry and pay Google / Yandex.
Leaflet in its purest form allows you to quickly display the map, the rest of the functionality will have to be finalized. There are services and software for routing (brouter, osrm) via OSM, there are ready-made site implementations for adding all sorts of labels (for example, umap, but here, according to the context, you will most likely need to do your own). Unlike YaGoogle, there is no such thing as everything in one place at once. But it's free and open.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question