admin管理员组文章数量:1023803
Hello my question is regarding google map api. I am creating a autoplete search bar with google map api. but the problem is that it is returning only five results. Can anybody tell me how to increase number of results. my code is below
<script src="js/jquery.geoplete.js"></script>
<script>
$('#geoplete').keydown(function(e) {
$(function(){
var center = new google.maps.LatLng(51.50,0.1167);
$("#geoplete").geoplete({
map: ".map_canvas",
country: 'gb',
types: ["(regions)"]
});
var map = $("#geoplete").geoplete("map")
map.setCenter(center);
});
</script>
Hello my question is regarding google map api. I am creating a autoplete search bar with google map api. but the problem is that it is returning only five results. Can anybody tell me how to increase number of results. my code is below
<script src="js/jquery.geoplete.js"></script>
<script>
$('#geoplete').keydown(function(e) {
$(function(){
var center = new google.maps.LatLng(51.50,0.1167);
$("#geoplete").geoplete({
map: ".map_canvas",
country: 'gb',
types: ["(regions)"]
});
var map = $("#geoplete").geoplete("map")
map.setCenter(center);
});
</script>
Share
Improve this question
asked Mar 31, 2015 at 10:50
user5134673user5134673
2
- I don't think you can make it more than 5 result at the same time. – Verma Commented Mar 31, 2015 at 21:16
- hey so can you tell me any other api so that i can get upto 10 results – user5134673 Commented Apr 1, 2015 at 5:10
2 Answers
Reset to default 6This question has been asked many times before. Visit Google's Place Autoplete page Here and you'll see the text:
The Places API returns up to 5 results.
So there's your answer.
Yes of course.google place autoplete result has the length 5.
Hello my question is regarding google map api. I am creating a autoplete search bar with google map api. but the problem is that it is returning only five results. Can anybody tell me how to increase number of results. my code is below
<script src="js/jquery.geoplete.js"></script>
<script>
$('#geoplete').keydown(function(e) {
$(function(){
var center = new google.maps.LatLng(51.50,0.1167);
$("#geoplete").geoplete({
map: ".map_canvas",
country: 'gb',
types: ["(regions)"]
});
var map = $("#geoplete").geoplete("map")
map.setCenter(center);
});
</script>
Hello my question is regarding google map api. I am creating a autoplete search bar with google map api. but the problem is that it is returning only five results. Can anybody tell me how to increase number of results. my code is below
<script src="js/jquery.geoplete.js"></script>
<script>
$('#geoplete').keydown(function(e) {
$(function(){
var center = new google.maps.LatLng(51.50,0.1167);
$("#geoplete").geoplete({
map: ".map_canvas",
country: 'gb',
types: ["(regions)"]
});
var map = $("#geoplete").geoplete("map")
map.setCenter(center);
});
</script>
Share
Improve this question
asked Mar 31, 2015 at 10:50
user5134673user5134673
2
- I don't think you can make it more than 5 result at the same time. – Verma Commented Mar 31, 2015 at 21:16
- hey so can you tell me any other api so that i can get upto 10 results – user5134673 Commented Apr 1, 2015 at 5:10
2 Answers
Reset to default 6This question has been asked many times before. Visit Google's Place Autoplete page Here and you'll see the text:
The Places API returns up to 5 results.
So there's your answer.
Yes of course.google place autoplete result has the length 5.
本文标签: javascriptnumber of results in google geocomplete places resultsStack Overflow
版权声明:本文标题:javascript - number of results in google geocomplete places results - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745544496a2155333.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论