var latLng = GLatLng(parseFloat(result.lat), parseFloat(result.lng));The AJAX Search API team produced a number of simple sample applications to teach the basics of search-integrated Maps mashups. Two of the most popular samples are My Favorite Places and My Phone List, so take a look and see if they inspire you to add Search to your Maps mashups!
var marker = new GMarker(latLng);
(An example of this search-enhanced Maps mashup idea is the Google Gadget we built using these two APIs — check out the new Google Map Search Gadget.)
Related post: Add Map Search to your site