Commit bbf728b6 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

when showing elements with no>=100 generic markers without numbers are used

parent 8169ca0e
......@@ -265,11 +265,12 @@ AbstractDbOverlay.prototype.getColor = function (colorId) {
};
AbstractDbOverlay.prototype.getIcon = function (colorId, id) {
var suffix = "_" + id;
if (id >= 100) {
id = 1;
suffix = "";
}
var color = this.getColor(colorId);
return "marker/" + this._iconType + "/" + this._iconType + "_" + color + "_" + id + ".png";
return "marker/" + this._iconType + "/" + this._iconType + "_" + color + suffix + ".png";
};
AbstractDbOverlay.prototype.splitQuery = function (query, useFullName) {
......
Supports Markdown
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