+ 23

Google maps customisation

Is it possible to display points (markers or info windows) on the Google maps and that way enable users to pick (select) points that they need for something like calculations of shortest path or whatever they need? Just to make it clearer for you, I want to make a page for a user to pick some predefined locations to be processed with Google or-tools for calculating optimal route based on distance and time constraints. Now that peace of code that do calculations is already there. But how to utilize Google maps API to enable selection of points on it? Is that even possible or not? Shruthi Yes we can use Google for that purpose too, but limited with number of points and there is threshold in requests per second, minute etc. If we obtain distances first then we can use this offline script to get the optimal route without using Google API requests at all. Now maybe we don't need Google at all, maybe we can work with openstreetmap or whatever other map available.

11th Feb 2019, 7:55 AM
Dejan Dozet
Dejan Dozet - avatar
4 Respostas
+ 8
Your idea is great .🤗 ⏺️Well,I think we can browse for the shortest path way on Google . ⏺️It gives the time takes to travel by trains,cars, walk ,buses,... I agree😁
11th Feb 2019, 6:23 PM
Suraj Kumar
Suraj Kumar - avatar
+ 7
It is possible on Google earth. You can drop a point and do calculations.
11th Feb 2019, 10:41 AM
Abhay
Abhay - avatar
+ 2
I would not use the Google maps API. It is hard to use, has complicated docs, may be expesive, requires authentication, wants to know your home address when you log in, and has low customization. Therefore, use Open layers or search “oen source maps api”
11th Nov 2020, 12:02 AM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
- 2
hello
12th Mar 2019, 4:23 PM
IN_hacker