简体   繁体   English

列表中的jQuery Store Locator插件字母

[英]jQuery Store Locator Plugin letter on list

I want to change the letters in the list with numbers. 我想用数字更改列表中的字母。

I use this plugin , is it possible? 我使用这个插件 ,可能吗?

I tried to change this code but doesn't work 我试图更改此代码,但不起作用

// Letter markers image
                letterMarkerImg = {
                    url: 'https://mt.googleapis.com/vt/icon/name=icons/spotlight/spotlight-waypoint-b.png&text=' + letter + '&psize=16&font=fonts/Roboto-Regular.ttf&color=ff333333&ax=44&ay=48'
                };

                // Letter markers
                marker = new google.maps.Marker({
                    position : point,
                    map      : map,
                    icon     : letterMarkerImg,
                    draggable: false
                });

Thanks. 谢谢。

It seems to be no possible because the first letter of the list "A" is written directly in the code . 这似乎是不可能的,因为列表“ A”的第一个字母直接写在代码中

Maybe you should open them an issue and explain your need, or fork the project and implement this feature on your own :) . 也许您应该向他们提出问题并解释您的需求,或者分叉项目并自行实现此功能:)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM