Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
Good day to all,

I am using webview2 as a web browser in my VB.Net windows form application. I don't need to navigate the webview2 for multiple urls on runtime. I only need to open Google Maps and to get the distance between two given locations and the both location points in relevant variables.

Can anyone do a help for me, i will be grateful.

Thanks & Regards
Muhammad Asim Mughal

What I have tried:

MyWebView_.CoreWebView2.Navigate(txtSearch.Text)
Posted
Comments
RossMW 14-Dec-23 20:57pm    
This is not as straight forward as it seems and you have to get into googles api's. I suggest you research the follow links, experiment a little and build up and research from there...

https://www.w3schools.com/graphics/google_maps_intro.asp

https://developers.google.com/maps/apis-by-platform

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900