|
@@ -48,11 +48,11 @@ define(["d3", "leaflet", "moment", "leaflet.label"], function (d3, L, moment) {
|
|
|
return lines
|
|
|
}
|
|
|
|
|
|
- var iconOnline = { color: "#1566A9", radius: 6, fillOpacity: 0.5, weight: 2, className: "stroke-first" }
|
|
|
- var iconOffline = { color: "#D43E2A", radius: 3, fillOpacity: 0.5, weight: 1, className: "stroke-first" }
|
|
|
- var iconLost = { color: "#D43E2A", radius: 6, fillOpacity: 0.5, weight: 1, className: "stroke-first" }
|
|
|
- var iconAlert = { color: "#D43E2A", radius: 6, fillOpacity: 0.5, weight: 2, className: "stroke-first node-alert" }
|
|
|
- var iconNew = { color: "#558020", radius: 6, fillOpacity: 0.5, weight: 2, className: "stroke-first" }
|
|
|
+ var iconOnline = { color: "#1566A9", fillColor: "#1566A9", radius: 6, fillOpacity: 0.5, opacity: 0.5, weight: 2, className: "stroke-first" }
|
|
|
+ var iconOffline = { color: "#D43E2A", fillColor: "#D43E2A", radius: 3, fillOpacity: 0.5, opacity: 0.5, weight: 1, className: "stroke-first" }
|
|
|
+ var iconLost = { color: "#D43E2A", fillColor: "#D43E2A", radius: 6, fillOpacity: 0.8, opacity: 0.8, weight: 1, className: "stroke-first" }
|
|
|
+ var iconAlert = { color: "#D43E2A", fillColor: "#D43E2A", radius: 6, fillOpacity: 0.8, opacity: 0.8, weight: 2, className: "stroke-first node-alert" }
|
|
|
+ var iconNew = { color: "#1566A9", fillColor: "#93E929", radius: 6, fillOpacity: 1.0, opacity: 0.5, weight: 2 }
|
|
|
|
|
|
return function (config, linkScale, sidebar, router) {
|
|
|
var self = this
|
|
@@ -116,7 +116,7 @@ define(["d3", "leaflet", "moment", "leaflet.label"], function (d3, L, moment) {
|
|
|
m = nodeDict[highlight.o.nodeinfo.node_id]
|
|
|
|
|
|
if (m)
|
|
|
- m.setStyle({ fillColor: m.options.color, color: "orange", weight: 20, fillOpacity: 1, opacity: 0.7 })
|
|
|
+ m.setStyle({ color: "orange", weight: 20, fillOpacity: 1, opacity: 0.7, className: "stroke-first" })
|
|
|
} else if (highlight.type === "link") {
|
|
|
m = linkDict[highlight.o.id]
|
|
|
|