Does anyone know how to save changes(points plotted on Google maps(Api) to create a route) to my database using code 1st c# MVC? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Does anyone know how to save changes(points plotted on Google maps(Api) to create a route) to my database using code 1st c# MVC?

I want to be able to plot routes on google maps and then save them on my database using google maps api, I am using C# and visual stuido 2017. The google maps apis code is in Javascript and i just want to know how i can plot the routes using a points on the map and then be able to save them on my database. Using code first c# MVC on .Net framework. Can somebody please help?😂

21st Aug 2018, 3:48 PM
Siyabonga Zuma
Siyabonga Zuma - avatar
3 Answers
+ 4
Hmm... Wouldn't it be better just to have the routes dynamically generated each time via the API, rather than saving routes in a database? (I'm thinking maintenance-wise, especially if a route changes, or there's a road closed, or something?) You would need to download the "Navigation" API for that, but it might be a good option. Just an idea. 😊
21st Aug 2018, 4:07 PM
Tony
Tony - avatar
+ 3
Cheers Siyabonga Zuma! 😊
21st Aug 2018, 4:15 PM
Tony
Tony - avatar
+ 1
Thanks Anthony havent thought about using the navigation API.will be looking at it now👍🏽😊
21st Aug 2018, 4:12 PM
Siyabonga Zuma
Siyabonga Zuma - avatar