GEOINT Distanz: Bessere Sichtbarkeit auf Satellitenbildern
- Rote Linie mit schwarzem Outline statt duenner gelber Linie - Groessere Endpunkte (r=6) mit weissem Rand - Label groesser (12px, bold, weiss), Schatten fuer Kontrast
Dieser Commit ist enthalten in:
@@ -446,7 +446,7 @@ const GEOINT = {
|
||||
if (self._distancePoints.length >= 2) {
|
||||
var p1 = self._distancePoints[self._distancePoints.length - 2];
|
||||
var p2 = self._distancePoints[self._distancePoints.length - 1];
|
||||
L.polyline([p1, p2], { color: '#ffdd00', weight: 2, dashArray: '6 4' }).addTo(self._distanceLayers);
|
||||
L.polyline([p1, p2], { color: '#000000', weight: 5, opacity: 0.5 }).addTo(self._distanceLayers); L.polyline([p1, p2], { color: '#ff2222', weight: 3, dashArray: '8 5' }).addTo(self._distanceLayers);
|
||||
var dist = p1.distanceTo(p2);
|
||||
var totalDist = 0;
|
||||
for (var i = 1; i < self._distancePoints.length; i++) {
|
||||
@@ -473,7 +473,7 @@ const GEOINT = {
|
||||
}).addTo(self._distanceLayers);
|
||||
}
|
||||
// Punkt-Marker
|
||||
L.circleMarker(e.latlng, { radius: 4, fillColor: '#ffdd00', color: '#ffdd00', fillOpacity: 1, weight: 1 }).addTo(self._distanceLayers);
|
||||
L.circleMarker(e.latlng, { radius: 6, fillColor: '#ff2222', color: '#ffffff', fillOpacity: 1, weight: 2 }).addTo(self._distanceLayers);
|
||||
};
|
||||
map.on('click', this._distanceHandler);
|
||||
},
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren