artem_niko Posted November 28, 2020 Share Posted November 28, 2020 Good afternoon! I need to solve the following problem. There is a map, it doesn't matter, Yandex maps or Google maps, on which I need to set a marker by the name of the city first at point A, and then put a marker at point B and get the distance between these points in kilometers, as well as information on the number of days, how many it will take days to overcome the constructed route by car. How can this be done using the UniMap component? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 29, 2020 Administrators Share Posted November 29, 2020 @Hayri ASLAN Quote Link to comment Share on other sites More sharing options...
artem_niko Posted November 29, 2020 Author Share Posted November 29, 2020 4 minutes ago, Farshad Mohajeri said: @Hayri ASLAN What? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted November 29, 2020 Share Posted November 29, 2020 On 11/28/2020 at 9:50 AM, Артем said: Good afternoon! I need to solve the following problem. There is a map, it doesn't matter, Yandex maps or Google maps, on which I need to set a marker by the name of the city first at point A, and then put a marker at point B and get the distance between these points in kilometers, as well as information on the number of days, how many it will take days to overcome the constructed route by car. How can this be done using the UniMap component? Hi, We are not using google map or yandex map directly. We are using Leaflet.js. Leaflet is a map display library, not a data API, not a routing library. 1- To able to use route, you need to use a plugin. like leaflet-routing-machine 2- we may use L.GeoSearch plugin. Quote Link to comment Share on other sites More sharing options...
artem_niko Posted November 30, 2020 Author Share Posted November 30, 2020 7 hours ago, Hayri ASLAN said: Hi, We are not using google map or yandex map directly. We are using Leaflet.js. Leaflet is a map display library, not a data API, not a routing library. 1- To able to use route, you need to use a plugin. like leaflet-routing-machine 2- we may use L.GeoSearch plugin. Can you give me example, how to use this L.GeoSearch plugin or link on example? Quote Link to comment Share on other sites More sharing options...
PS1 Posted March 15 Share Posted March 15 Is there any improvement in UNIGUI for this ? If not, can u provide example how to add this plugin and use it ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.