Blake
Blake

Reputation: 764

How can I use the Google maps API in a Visual BASIC application?

I'm building a simple directions program in VB and would like to incorporate some of the features found in Google maps, but when I go to the Google maps API page (http://code.google.com/apis/maps/index.html) it only has code for using Google maps in web sites with JavaScript, Flash etc... Nothing for desktop apps. Any way to use these APIs for my program? Thanks

Upvotes: 0

Views: 19336

Answers (4)

Ed E
Ed E

Reputation: 1

Just use a simple download command to get this webpage https://maps.googleapis.com/maps/api/geocode/json?address=Youraddress

Upvotes: 0

Kev
Kev

Reputation: 119816

If you're happy with fixed size maps then the Static Maps API might work for you:

Static Maps API V2 Developer Guide

Upvotes: 2

SLaks
SLaks

Reputation: 887459

Depending on what features you want, you may be able to use the Static Maps API (in a PictureBox) or the Geocoding API (using the WebClient class).

Upvotes: 2

Matt Ball
Matt Ball

Reputation: 359816

Since there's no VB API, you would have to embed an HTML page or Flash object in your program's GUI. Not being a VB programmer, I don't know much about how to do that.

Upvotes: 2

Related Questions