Comments (9)
Can you try the fix in #82 and see if that helps?
from dump1090.
You can type this directly into the console to load properly upintheair:
var request = $.ajax({ url: 'upintheair.json',
timeout: 5000,
cache: true,
dataType: 'json' });
request.done(function(data) {
var ringStyle = new ol.style.Style({
fill: null,
stroke: new ol.style.Stroke({
color: '#000000',
width: 1
})
});
for (var i = 0; i < data.rings.length; ++i) {
var geom = new ol.geom.LineString([]);
var points = data.rings[i].points;
if (points.length > 0) {
for (var j = 0; j < points.length; ++j) {
geom.appendCoordinate([ points[j][1], points[j][0] ]);
}
geom.appendCoordinate([ points[0][1], points[0][0] ]);
geom.transform('EPSG:4326', 'EPSG:3857');
var feature = new ol.Feature(geom);
feature.setStyle(ringStyle);
StaticFeatures.push(feature);
}
}
});
from dump1090.
You can type this directly into the console to load properly upintheair:
var request = $.ajax({ url: 'upintheair.json', timeout: 5000, cache: true, dataType: 'json' }); request.done(function(data) { var ringStyle = new ol.style.Style({ fill: null, stroke: new ol.style.Stroke({ color: '#000000', width: 1 }) }); for (var i = 0; i < data.rings.length; ++i) { var geom = new ol.geom.LineString([]); var points = data.rings[i].points; if (points.length > 0) { for (var j = 0; j < points.length; ++j) { geom.appendCoordinate([ points[j][1], points[j][0] ]); } geom.appendCoordinate([ points[0][1], points[0][0] ]); geom.transform('EPSG:4326', 'EPSG:3857'); var feature = new ol.Feature(geom); feature.setStyle(ringStyle); StaticFeatures.push(feature); } } });
Indeed ! It's ok as instant temporary solution. Thanks.
I'm going to try the fix in #82 now
from dump1090.
Can you try the fix in #82 and see if that helps?
The LineString fix do the trick ! Thanks a lot !
from dump1090.
Bug reintroduced on v5.0
from dump1090.
from dump1090.
@Thom-x Can you try moving your upintheair.json into /usr/share/skyaware/html and let me know if that fixes it? We've created a separate map to merge 1090/978 together. I'll add it to the release notes for users using this feature.
from dump1090.
It's working for the new merged map. Already tried it 👍
from dump1090.
Thanks, I've added it to the release notes.
from dump1090.
Related Issues (20)
- Q: where is the military filter implemented? HOT 1
- No capturing any packet on dump1090 HOT 1
- CPU features for RISC-V architecture
- UI not updated ?
- Request: Missing some statistics in the json files HOT 3
- Fix host vs build var naming. Use DEB_HOST_ARCH in package builds breaks build on RaspiOS 64-bit (bullseye) HOT 2
- Cannot compile on macOS Ventura HOT 2
- UAT 978 HOT 1
- Query arguments no longer supported HOT 7
- Stale URL for Message Decoding
- Build on Debian 12 (bookworm) HOT 1
- dump1090-fa fails to build on pi4 4GB with 32 bit pi-os image HOT 2
- Merging dev into master HOT 1
- adaptive burst mode HOT 1
- Adaptive Duty Cycle does not work as expected HOT 2
- Background maintenance tasks disabled when running with `--ifile` option HOT 3
- dev branch soapy sdr support; how to get parameter and their names HOT 3
- adaptive burst mode not triggered by airplanes transmitting "on ground"
- Errors on Mac OS Sonoma 14.3.1 HOT 3
- How to install dump1090 with Soapy support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dump1090.