dsaaqdz6223 2014-05-26 06: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 06: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 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部