[Google Maps API v3] Missing data for some location in UK

2016-10-17 Thread Hoàng Ngọc Tuấn Anh
Hello,

I'm using Google maps Javascript API to help my users search their address 
easily. However, for some location in UK, they cannot find their house.
For example: For post code ST8 7LF I can find 4 houses by searching on 
www.royalmail.com/find-a-postcode, 
but Google data has very minimal details data
I know that to improve the precision of data, we need lots of time, but in 
such case, how can I improve my user experience ?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.


[Google Maps API v3] Passing Data to Callback functions?

2016-10-17 Thread Numair Kaukab


var unique_interests = window.facebook_interests.filter((v, i, a) => 
a.indexOf(v) === i);
   
   
   var input = map.getCenter();
   var a = input.lat();
   var b = input.lng();
   
   var latlng = {lat: a, lng: b};
   
   window.markersGP = [];
   

   
   for(var i=0; i

[Google Maps API v3] How to sort Google autocomplete results by airport

2016-10-17 Thread Rashedul Alam
I am using Google map autocomplete in my applications. I want to sort the 
results by airport. Suppose if somebody type dfw then *Dallas/Fort Worth 
International Airport* will come first. That means if there exists any 
airport it will appear first. My code is here:

var autocomplete = new 
google.maps.places.Autocomplete(document.getElementById('PickupAdd')
);

autocomplete.bindTo('bounds', map);
var infowindow = new google.maps.InfoWindow();
var marker = new google.maps.Marker({
map: map,
anchorPoint: new google.maps.Point(0, -29)
});



A sample expected output is given bellow.


I want to follow exactly this  web site.

Can anybody help me?

NB: I am using JavaScript API

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.