[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VB.NET finding distance between two addresses

Posted on 2014-02-26
3
Medium Priority
?
2,190 Views
Last Modified: 2014-03-02
I'm trying to develop VB.NET application that has two text boxes and one command button. First text box accepts first address (i.e. Ajdovšcina 4, 1513 Ljubljana) and second text box accepts second address (i.e. Trg republike 2, 1520 Ljubljana). When you put both addresses into text boxes and press command button the VB.NET application needs to do the following:
1) Calculate shortest distance (in kilometer) between two addresses provided;
2) Draw the route on the map insight the application where it is possible to do zoom in and zoom out.

To achieve item 1, I found we could use either Google maps API or Bing maps. Currently, I do not know any other solutions (perhaps you do), since I do not have longitude or latitude information for addresses.

Any of your help or suggestions will be more than welcome. Thank you very much.
0
Comment
Question by:JanjaNovak
2 Comments
 
LVL 9

Accepted Solution

by:
Valliappan AN earned 2000 total points
ID: 39891536
There are a number of APIs other than Google APIs and Bing APIs, or MapQuest, these are which seem to be more popular though, or you may go open source.

http://www.creativebloq.com/inspiration/top-seven-alternatives-google-maps-api-7122779
(7 great alternatives to the Google Maps API)

http://stackoverflow.com/questions/448534/powerful-net-map-apis
(Powerful Net Map APIs)

Here is some sample code:
http://www.codeproject.com/Articles/684735/Allow-Users-to-Zoom-In-On-Any-A
(using goMap plugin)

http://www.dreamincode.net/forums/topic/237176-simple-map-with-zoom-pan-node/
(Some useful links for map)


Here is some libraries /open source for Google Map API:
http://www.ohloh.net/p/gmaps-api-net

http://sourceforge.net/projects/gwt/
(GWT - Google Maps API)

 Thanks.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question