Skip to content
Snippets Groups Projects
Commit 4405a274 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

possibility to modify color of overlay

parent 21cfdbce
No related branches found
No related tags found
1 merge request!8Resolve "missing methods for JS app API"
......@@ -181,7 +181,8 @@ function createMarkerElements(params, type, isDefault) {
} else if (elementParam.options.type === type) {
markerElements.push({
element : elementParam.element,
icon : elementParam.options.icon
icon : elementParam.options.icon,
color : elementParam.options.color,
});
} else if (elementParam.options.type !== "ICON" && elementParam.options.type !== "SURFACE") {
throw new Error("Unknown type:" + elementParam.options.type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment