Solved

VB.NET finding distance between two addresses

Posted on 2014-02-26
3
1,876 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

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)…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 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