You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm not familiar with OpenLayers. Please bear with me and my lack of knowledge.
I think the altitude color added to the plane lines are very nice. But some times, depending on the background map, I find it hard to see the line. E.g. when you have green on green, or blue on blue.
I think that maybe some sort of outer stroke added to the line could help make them more distinct in these cases.
I've tried to experiment by adding a second stroke to the altitudeLines:
// return the styling of the lines based on altitudePlaneObject.prototype.altitudeLines=function(altitude){varcolorArr=this.getAltitudeColor(altitude);varcolor_bg=newol.style.Style({stroke: newol.style.Stroke({color: 'rgba(0, 0, 0, 0.2)',width: 4})});varcolor_fg=newol.style.Style({stroke: newol.style.Stroke({color: 'hsl('+(colorArr[0]/5).toFixed(0)*5+','+(colorArr[1]/5).toFixed(0)*5+'%,'+(colorArr[2]/5).toFixed(0)*5+'%)',width: 2})});return[color_bg,color_fg];}
Some variations (current behavior/look on top):
I think the joints/point where lines connect look really bad here. It's very visible with the black stroke/the lower example.
Since I don't know OpenLayers, I don't know if it's possible to make these joints look good somehow?
Any thoughts?
The text was updated successfully, but these errors were encountered:
Hi! I'm not familiar with OpenLayers. Please bear with me and my lack of knowledge.
I think the altitude color added to the plane lines are very nice. But some times, depending on the background map, I find it hard to see the line. E.g. when you have green on green, or blue on blue.
I think that maybe some sort of outer stroke added to the line could help make them more distinct in these cases.
I've tried to experiment by adding a second stroke to the
altitudeLines
:dump1090/public_html/planeObject.js
Lines 619 to 628 in f862b53
E.g something like:
Some variations (current behavior/look on top):
I think the joints/point where lines connect look really bad here. It's very visible with the black stroke/the lower example.
Since I don't know OpenLayers, I don't know if it's possible to make these joints look good somehow?
Any thoughts?
The text was updated successfully, but these errors were encountered: