Google Maps PlacesService, PlaceResult is only returning one (1) photo for the photos property array -



Google Maps PlacesService, PlaceResult is only returning one (1) photo for the photos property array -

having issue results google maps placesservice. resultant placeresult object returning 1 photo in photos property array. in past not case , 10 photos returned. change?

example code:

var request = { reference: place.reference } var callback = function(details, status) { if (status == google.maps.places.placesservicestatus.ok) { alert("number of photos: " + details.photos.length); } } var service = new google.maps.places.placesservice(map); service.getdetails(request, callback);

fiddle showing example

in previous reply has been deleted said must bug on google side.

i found issue :

https://code.google.com/p/gmaps-api-issues/issues/detail?id=6825&sort=-id&colspec=id%20type%20status%20introduced%20fixed%20summary%20stars%20apitype%20internal

if right, google maps placesservice javascript version of google places api, backend code might same : explain why have same results (same bug(?)).

hope helps.

google-maps-api-3 google-places-api

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -