Using Google Maps by Address field?

HI, I am trying to use google maps in my web app to display an address.The lat long works perfectly but when i send "cityname, statename, countryname", it doesn't show any result. 

So,Address Map =>works perfect (takes lat and long)

Maps=> doesnt work.

Hi Ankit,

Can you please attach OML

ankit raj wrote:

HI, I am trying to use google maps in my web app to display an address.The lat long works perfectly but when i send "cityname, statename, countryname", it doesn't show any result. 

So,Address Map =>works perfect (takes lat and long)

Maps=> doesnt work.

Hi Ankit,

If I'm reading your question correctly you'd like to give in an adress and have it show on a google map?


glenn michiels wrote:

ankit raj wrote:

HI, I am trying to use google maps in my web app to display an address.The lat long works perfectly but when i send "cityname, statename, countryname", it doesn't show any result. 

So,Address Map =>works perfect (takes lat and long)

Maps=> doesnt work.

Hi Ankit,

If I'm reading your question correctly you'd like to give in an adress and have it show on a google map?


Yes. When i use the Address Map feature, i get the map rendered with the pinpoint address because it accepts lat and long.

But i want the normal map feature which takes address as a string. 


ankit raj wrote:

glenn michiels wrote:

ankit raj wrote:

HI, I am trying to use google maps in my web app to display an address.The lat long works perfectly but when i send "cityname, statename, countryname", it doesn't show any result. 

So,Address Map =>works perfect (takes lat and long)

Maps=> doesnt work.

Hi Ankit,

If I'm reading your question correctly you'd like to give in an adress and have it show on a google map?


Yes. When i use the Address Map feature, i get the map rendered with the pinpoint address because it accepts lat and long.

But i want the normal map feature which takes address as a string. 


Hi Ankit,

In attachment you'll find an example of how to add adresses to a google maps using the normal map and a text-based adress.

Just replace the GoogleAPI site property with your API-Key and it should work.

Kind regards,
Glenn