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 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题