4

I have a ASP.NET MVC 4 application.

Let's say I have 4 records from my db that has a field address.

Q: How can I send this addresses to a google maps control(or directly to the maps.google.com website) ? enter image description here

Misi
  • 748
  • 5
  • 21
  • 46

1 Answers1

9

Use the first adress as saddr-parameter(start-address) and the other 3, separated by +to: as daddr-parameter(destination-address)

http://maps.google.com/maps?saddr=strasbourg,france&daddr=troyes,france+to:paris,france+to:nantes,france

description of the parameters: http://www.seomoz.org/ugc/everything-you-never-wanted-to-know-about-google-maps-parameters

Dr.Molle
  • 116,463
  • 16
  • 195
  • 201