dsaaqdz6223 2014-05-26 14:36
浏览 62
已采纳

如何在谷歌街景中保存“缩放”图像

I have a problem to save "google street image view" when I zoom in or zoom out the pictue.

For example I have picture link something like this: http://maps.googleapis.com/maps/api/streetview?sensor=false&zoom=1.6600000000000001&heading=0&size=640x640&location=47.371693,8.535608000000025

is same with: http://maps.googleapis.com/maps/api/streetview?sensor=false&zoom=2.3200000000000003&heading=0&size=640x640&location=47.371693,8.535608000000025

But in this link zoom property makes no sense. Some other property maybe?

Thanks

  • 写回答

2条回答 默认 最新

  • doujing6053 2014-05-26 14:41
    关注

    Zoom property doesn't exist. You can zoom on an image by using fov property.

    For example: http://maps.googleapis.com/maps/api/streetview?sensor=false&heading=0&size=640x640&location=47.371693,8.535608000000025&fov=20

    From documentation:

    fov (default is 90) determines the horizontal field of view of the image. The field of view is expressed in degrees, with a maximum allowed value of 120. When dealing with a fixed-size viewport, as with a Street View image of a set size, field of view in essence represents zoom, with smaller numbers indicating a higher level of zoom.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?