Somebody knows how can I update OpenLayers map version in Piaware Skyview to last version (v5.3.0)?
I tried download and change script and css versions in index.html, but doesn’t works!
Thanks a lot!
Somebody knows how can I update OpenLayers map version in Piaware Skyview to last version (v5.3.0)?
I tried download and change script and css versions in index.html, but doesn’t works!
Thanks a lot!
This is the commit where i changed the version to the newer openlayers.
update openlayers and jquery · wiedehopf/tar1090@8f9d661 · GitHub
new ol.geom.LineString();
Creating an empty linestring now needs an empty array as an argument.
new ol.geom.LineString([]);
I made some unecessarily more complex changes as you can see from the diff.
Also:
//var WGS84 = new ol.Sphere(6378137);
 //this.sitedist = WGS84.haversineDistance(SitePosition, this.position);
 this.sitedist = ol.sphere.getDistance(SitePosition, this.position);
The upper two lines i commented out, below is the new syntax you need to use.
You should be able to figure it out.
Or you can just base your modifications my webinterface
GitHub - wiedehopf/tar1090: Provides an improved webinterface for use with ADS-B decoders readsb / dump1090-fa
Thanks a lot! All works fine!
I’m trying update layerswitcher to last version (GitHub - walkermatt/ol-layerswitcher: Layer control for OpenLayers), but itdoesn’t works… do you know how fix that?
Haven’t bothered with updating the layer switcher yet.
I need update ol.switcher to last version(from ol3-layerswitcher -v3.0- to ol-layerswitcher -v3.3-) because in this version it’s possible use dropdown list for layovers data, really useful for this addon Is there any script or tool for create airways, VORs, SIDs & STATRs? is there any script for drawing range chart by altitude? - #20 by mikkyo
If somebody knows how i can upgrade SkyView to last ol-layerswitcher i will appreciate.
Thanks a lot!