Solved

VB.NET finding distance between two addresses

Posted on 2014-02-26
3
1,695 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now