set all path options to defaults, to ensure any changes made by highlighters (e.g. dashes used by portal weakness) are reset on a highlighter change
This commit is contained in:
parent
7923903544
commit
1d354d4e05
@ -39,11 +39,14 @@ window.getMarkerStyleOptions = function(details, selected) {
|
||||
|
||||
var options = {
|
||||
radius: lvlRadius + (L.Browser.mobile ? PORTAL_RADIUS_ENLARGE_MOBILE : 0),
|
||||
stroke: true,
|
||||
color: selected ? COLOR_SELECTED_PORTAL : COLORS[details.team],
|
||||
opacity: 1,
|
||||
weight: lvlWeight,
|
||||
opacity: 1,
|
||||
fill: true,
|
||||
fillColor: COLORS[details.team],
|
||||
fillOpacity: 0.5
|
||||
fillOpacity: 0.5,
|
||||
dashArray: null
|
||||
};
|
||||
|
||||
return options;
|
||||
|
Loading…
x
Reference in New Issue
Block a user