绘制时不显示 Leaflet divIcon

Leaflet divIcon doesn't appear when drawn

我有一个 sprite sheet,上面有一堆不同旋转的飞机图像。我正在尝试根据标题将我的图标设置为精灵。我的航向舍入计算正在运行,我写的 class 是正确的,但是当我绘制它时什么也没有出现。我之前的迭代没有精灵,只有一堆单独的图像和一个常规图标工作正常,所以代码的绘图部分应该没问题。我只是更改了图标类型。有任何想法吗?这是我的新标记函数

 iconClass = '757_' + (Math.round(HDG/15)) * 15
 var nIcon = L.divIcon({className: iconClass});
 marker[i].setIcon(nIcon)
 marker[i].setLatLng(coords);
 marker[i].bindTooltip(CALL);
 mymap.addLayer(marker[i]);

我的风格sheet看起来像

.757_120{top:0px;left:0px;
width:36px;height:27px;background: url("images/sprites.png") no-repeat -116px -651px;}
.757_135{top:0px;left:0px;
width:33px;height:33px;background: url("images/sprites.png") no-repeat -292px -465px;}

加载喜欢

<link rel="stylesheet" href="images/sprites.css">

console.log(document.styleSheets)

似乎显示 sheet 样式已加载

原来我的部分问题是 class 名称不能以数字开头。