How can I add google maps in

How can i add a link of google maps in my desktop app.

Who is Participating?
Ariana JohnsonConnect With a Mentor BloggerCommented:
Step 1. Firstly, create a new project and select Windows Form Application
Step 2. Add a WebBrowser control (which will hold your map) to your Form1. Let's call it "wbmap"
Step 3. Create a .html file named "googlemap_template.html" with your favourite text editor and paste the following code:
Step 4. Add the googlemap_template.hmtl file to your project (right click on your project->add->existing item)
Step 5. Once it appears in your Solution Explorer, set its properties to: - Build Action -> Embedded Resource - Custom Tool Namespace -> write the name of the project
Step 6. Add a new class (right click on your project->add->class). In my example I'll call it GoogleMapHelper.
Step 7. Paste the following code into your class:
Step 8. Now we can use our GoogleMapHelper class to load the map into our webbrowser by simply creating and instance and calling its loadMap() method.
RIASAuthor Commented:
Perfect! Cheers!
All Courses

From novice to tech pro — start learning today.