is there a way where i can enter a city name and get the latitude and longitude for that location as i am trying to take a list of cities and dynamically populate a google maps webpage.
I have the idea of the code below but i dont have the Latitude or Longitude points.
foreach (City city in cities)
{
markerString.AppendLine(" var point" + i + " = new GLatLng(" + city .Location.Latitude + "," + city .Location.Longitude + ");");
markerString.AppendLine(" var marker" + i + " = new GMarker(point" + i + ");");
markerString.AppendLine(" marker" + i + ".value = " + i + ";");
}