Solved

VB.NET finding distance between two addresses

Posted on 2014-02-26
3
1,782 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
3 Comments
 
LVL 10

Expert Comment

by:Monica P
ID: 39891159
0
 
LVL 9

Accepted Solution

by:
Valliappan AN earned 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net - KeyPress Event 4 36
Example works but why do I need to click twice on button 4 37
DataTables + iCheck + pagination Issue 2 20
vb.net class 3 12
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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