Searching on google map

Hi, I an integrating a google map with my rails application. My requirement is to show the places in the map which are related with my text. For example:- If my search text is "IT companies in India" then google map should mark/show all the places of India where the "IT companies" are located.

Anyone have an idea how to do thos?

Thanks, Tushar