How can I tell if Google's Streetview Image API Returns “Sorry, we have no imagery here” (ie. NULL) Result?

后端 未结 8 617
清酒与你
清酒与你 2020-12-03 07:38

The Google Street View Image API lets you embed a static (non-interactive) Street View panorama or thumbnail into your web page, without the use of JavaScript.

Reque

8条回答
  •  时光取名叫无心
    2020-12-03 08:27

    Well, you easily can check the size of the returned file

    I write my solution with PHP as an example. this function has two inputs : google streat view API URL and size of "Blank Image".

    
    

提交回复
热议问题