【问题标题】:How to change the number of stores showed into the left panel with Google storelocator library?如何使用 Google 商店定位器库更改左侧面板中显示的商店数量?
【发布时间】:2012-11-23 10:43:11
【问题描述】:

我正在使用适用于 Maps API 的 Store Locator Library,您可以找到 here 我已经根据需要自定义了 custom.html 示例。 我需要做的最后一件事是:将左侧面板中显示的商店的默认值从 10 更改为插入 .csv 文件中的所有商店。我怎样才能改变它?有人可以帮我吗?非常感谢!

【问题讨论】:

    标签: javascript gps maps


    【解决方案1】:

    您需要更改的代码行位于“store-locator.compiled.js”中。

    for( var b = function(){ a[A]( this.store, d ) }, i = 0, k = h.min( 10, c[B] ); i < k; i++ )
    

    搜索上面的行并将“10”更改为您需要的任何内容。

    【讨论】:

      猜你喜欢
      • 2016-02-06
      • 2023-03-28
      • 1970-01-01
      • 2016-01-19
      • 2013-08-09
      • 2015-03-28
      • 1970-01-01
      • 2021-05-09
      • 1970-01-01
      相关资源
      最近更新 更多