<script language="Javascript" type="text/javascript">
//<![CDATA[
google.load("search", "1");
$(document).ready(function() {
$("#search").keyup(function () {
gLocalSearch = new google.search.LocalSearch();
gLocalSearch.setCenterPoint
(google.loader.ClientLocation.address.city);
gLocalSearch.execute(document.getElementById("search").value);
});
});
//]]>
</script>
我需要在里面添加什么代码来获得搜索结果。
我只想获取搜索的经纬度结果,尝试了几个方法,均不可实现。
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---