Unverified Commit 340bbd65 authored by User expired's avatar User expired
Browse files

fixed js issue

parent 3457133a
Upcoming version:
-----------------
- fixed js issue (Nikolaus Krismer)
- fixed some javascript issues (Nikolaus Krismer)
- fixing problem with marker-number in combination with webpack (Nikolaus Krismer)
- improved error messages (Nikolaus Krismer)
......
......@@ -16,11 +16,6 @@ define(['leaflet'], function(L) {
numdiv.innerHTML = options['number'] || '';
div.innerHTML = options.html !== false ? options.html : '';
div.appendChild(numdiv);
if (options.bgPos) {
var bgPos = point(options.bgPos);
div.style.backgroundPosition = (-bgPos.x) + 'px ' + (-bgPos.y) + 'px';
}
this._setIconStyles(div, 'icon');
return div;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment