4

Is there any way to get more than 10 photos back in the photos array? I'm using the JavaScript API v3. Perhaps a separate service to get more photos?

https://developers.google.com/maps/documentation/javascript/places#place_details_responses

Evan
  • 836
  • 1
  • 13
  • 25

2 Answers2

3

No. As per the documentation, the API returns a maximum of 10 photos. Link

Evan
  • 836
  • 1
  • 13
  • 25
plexer
  • 4,542
  • 2
  • 23
  • 27
1

Take a look at this: photos[] — an array of photo objects, each containing a reference to an image. A Place Search will return at most one photo object. Performing a Place Details request on the place may return up to ten photos link https://developers.google.com/places/webservice/search

Mikhail Valuyskiy
  • 1,238
  • 2
  • 16
  • 31