[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

[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 = [];

[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