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条)

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog