This commit is contained in:
@ -226,12 +226,14 @@ window.renderPortal = function(ent) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var team = getTeam(ent[2]);
|
var team = getTeam(ent[2]);
|
||||||
|
var lvWeight = Math.max(2, portalLevel / 1.5);
|
||||||
|
var lvRadius = portalLevel + 3;
|
||||||
|
|
||||||
var p = L.circleMarker(latlng, {
|
var p = L.circleMarker(latlng, {
|
||||||
radius: 7,
|
radius: lvRadius,
|
||||||
color: ent[0] == selectedPortal ? COLOR_SELECTED_PORTAL : COLORS[team],
|
color: ent[0] == selectedPortal ? COLOR_SELECTED_PORTAL : COLORS[team],
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
weight: 3,
|
weight: lvWeight,
|
||||||
fillColor: COLORS[team],
|
fillColor: COLORS[team],
|
||||||
fillOpacity: 0.5,
|
fillOpacity: 0.5,
|
||||||
clickable: true,
|
clickable: true,
|
||||||
|
Reference in New Issue
Block a user