Reputation: 83
I'm making an application in winforms, which is supposed to load up locations from a database, and ask the user where they would like to go. the problem is that the user should be able to choose locations from google maps too. So, as the google maps api is in JS, how do i get information from it to C#?
Note: It doesn't have to be winforms, it can be wpf too
Upvotes: 0
Views: 48
Reputation: 604
Since you are just loading up locations, try to use the Google Places Web-Service API. You can then make HTTP requests that will give you a response in either JSON or XML. You should then be able to use those responses to pass them to your C# implementation.
Upvotes: 1