Solved

VB.NET finding distance between two addresses

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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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