Google maps get latitude and longitude having city name?
<p>I want to get latitude and longitude of a city by providing the api with the city name. It should work for most cities regardless how the user inputs the city.</p>

<p>E.G:</p>

<p>city can be 'miami, US' or city can be 'miami, united states'</p>

<p>How do I print it's latitude?</p>
