【问题标题】:Abbreviate states in GeocompleteGeocomplete 中的缩写状态
【发布时间】:2016-10-17 19:29:14
【问题描述】:

有没有办法在 geocomplete 中缩写状态?

我目前正在使用数据地理代码管理区域级别 1 来显示状态,但需要缩写 - 不是全名。

【问题讨论】:

    标签: geocomplete


    【解决方案1】:

    您只需将short to short 添加到administrator_area_level_1 的末尾,如下所示:

        <label>State</label>
        <input name="administrative_area_level_1_short" type="text" value="">
    
    
    I tried it for Colorado and it gave CO. I think this is what you wanted. All the best.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-01-06
      • 2017-07-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多