thank you very much ..for ur help ..
i did using low level API..code for that is ..
  // Load the Google Transliteration API
      google.load("elements", "1", {
            packages: "transliteration"
          });

      google.load("language", "1");

    function initialize() {
      var
mytool_array=document.getElementById("transliteration").value.split(" ");

      google.language.transliterate(mytool_array,
google.elements.transliteration.LanguageCode.ENGLISH,
google.elements.transliteration.LanguageCode.TELUGU, function(result) {
            if (!result.error) {
                 if (result.transliterations &&
result.transliterations.length > 0 )
                     {
                     alert("inside if");
                           var i=0;
                           for(i=0;i<result.transliterations.length;i++){

 if(result.transliterations[i].transliteratedWords.length > 0)

                               document.getElementById("tranformed").value =
document.getElementById("tranformed").value+"
"+result.transliterations[i].transliteratedWords[0];
                                               }

                              }
                  else{
                      alert("failure");
                      }
            }
          });

    }

2008/11/21 Ben Lisbakken <[EMAIL PROTECTED]>

> Hey Kevin,
> Can you post a link to your code?  Then I can see what point you have
> gotten to so I can help you fill in the blanks.  As far as using the loader,
> you can check out some of these samples:
> http://lisbakken.com/ajaxapi/interactive_samples/#localsearch_with_markers
>
> Thanks,
> Ben
>
> On Wed, Nov 19, 2008 at 4:20 PM, Kevin <[EMAIL PROTECTED]> wrote:
>
>>
>> I'm trying add a local search control to my Google map.  Examples from
>> the documentation show the following setup
>>
>> ========================================
>> // Load the Code
>> <script src="http://www.google.com/uds/api?
>> file=uds.js&v=1.0&key=ABCDEF<http://www.google.com/uds/api?file=uds.js&v=1.0&key=ABCDEF>
>> "
>>      type="text/javascript"></script>
>> <script src="http://www.google.com/uds/solutions/localsearch/
>> gmlocalsearch.js<http://www.google.com/uds/solutions/localsearch/gmlocalsearch.js>
>> "
>>      type="text/javascript"></script>
>>
>> // Load the Style Sheets
>> <style type="text/css">
>>  @import url("http://www.google.com/uds/css/gsearch.css";);
>>  @import url("http://www.google.com/uds/solutions/localsearch/
>> gmlocalsearch.css");
>> </style>
>> =========================================
>> The following statement also appears in the documentation
>>
>> "Alternatively, you could use the AJAX Loader to load all of these
>> modules via the common loader."
>>
>> I'm doing that succesfully with the Maps API and Visualization API but
>> can't get it to work with the Search API.
>>
>> Can someone reply with a concrete example of using the common loader
>> for this purpose.
>>
>> Thanks in advance for the help.
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to