kojp
V2EX  ›  问与答

不想翻老帖子,就建一个新帖吧。google map api 关于360街景的实现。

  •  
  •   kojp · Jun 4, 2012 · 3121 views
    This topic created in 5252 days ago, the information mentioned may be changed or developed.
    一路走来还算顺利。
    最后这个例子有点犯难了。

    不知道,最终是需要几幅图片呢?
    https://google-developers.appspot.com/maps/documentation/javascript/examples/streetview-custom-tiles


    function getCustomPanoramaTileUrl(pano, zoom, tileX, tileY) {
    // Return a pano image given the panoID.
    return 'images/panoReception1024-' + zoom + '-' + tileX + '-' +tileY +
    '.jpg';
    }


    如果google能把这个目录的浏览权限放开就好了。

    https://google-developers.appspot.com/maps/documentation/javascript/examples/images/
    1 replies  •  1970-01-01 08:00:00 +08:00
    kojp
        1
    kojp  
    OP
       Jun 12, 2012
    @zythum

    view-source:https://google-developers.appspot.com/maps/documentation/javascript/examples/streetview-custom-tiles?hl=zh-cn

    福利帝,帮忙看一下这里面的JS呗。真心找不到。tileX, tileY这两个变量的值在哪儿~~ :-(
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3213 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 14:29 · PVG 22:29 · LAX 07:29 · JFK 10:29
    ♥ Do have faith in what you're doing.