I moved the code to the Global Radar View. Style switch probably doesn't work on mobile devices. Click the square with the lines to change the text for the aircraft. On the right there is a new list of layers. If they are tagged with (ADSBx) they are running off our MapProxy to be polite to those hosting the map tiles. Thanks to ChartBundle.com and OpenAIP.net for the tiles and letting be ask questions about setting up the MapProxy. Enjoy! I need to take the weekend to catch up on things that I was supposed to be doing instead of working on ADSBx. Post bug reports in this thread. James ADSBx
At least works on Debian 9 and FF. Only issue is that in options you have to uncheck/check range rings, and your location. Do it once, close browser and reopen it if you face such behaviour. Great job!
That might be an initial VRS server setting that is being forced on first load. Again some people bitch and moan but VRS can only have one initial setting - Dan must have determined that those settings result in the least bitching and moaning emails. He gave me the settings file to use. Also VRS leaflet is very beta. I have some hacks in there due to the way the base map is hard coded in VRS. I'm probably removing those layers VRS intializes with.
I don't even know where to start. Those will need rebuilt from the ground up. I know they should be moved but it hasn't been a priority. I'm so tired of this VRS map, it is a time suck. I wish we could just dump it and make people install themselves and connect to TCP. The next version of VRS will very likely not be able to be used by ADSBx, it's also likely it won't run on Linux. VRS dev is planning on using Microsoft Katana OWIN server. https://docs.microsoft.com/en-us/aspnet/aspnet/overview/owin-and-katana/ I've been trying to convince him not to and to use something like NGINX, Apache or anything but more garbage MSFT dependent code. But who knows, VRS can't get much worse than it is at serving webpages.
I'll try to test some things on my Debian PC. There is one module in mlat-server which generates maps with pins. Just buy extra monitor and keyboard to work on it locally. Hopefuly path changes should work.
My guess is it MLAT serve exports a CSV and those maps read it in. Leaflet has CSV support to place markers, so it shouldn't be that hard to switch them over. This is assume the MLAT server actually generates a set of coordinates that can be used.
Viewing the map on an iPad, iOS 11, turning filters on or off takes you back to the UK on the map. It seems to lose track of where you were.
I really like these layers, are the files available for these layers available to download for use on our private VRS instillations?
I'm currently using those, though I'd like to be able to change the map type like I could with google maps and like with the current ADSBx setup. I like the radar images here better as well. If they're not available to download do you know of resources for learning to make your own layer setup?
What are you talking about? -- this link is how to get those layers into VRS using the custom content plugin. https://github.com/nitro999/vrs-overlays There is a this from VRS forums. What are you talking about not available to download? If you want to build your own map tile server? https://mapproxy.org/ https://mapserver.org/ ESRI world is equivalent to Google Maps Sat Openstreetmap or Wikimedia is Google Maps normal view There are 4 other base map types that aren't on Google Maps ....
assuming you want the Iowa State US Radar images. https://github.com/nitro999/vrs-overlays/blob/master/Put this file at end of body.html Add .. Code: var now = new Date().getTime(); var agronNexrad = L.tileLayer.wms('https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi', { layers: 'nexrad-n0r-900913', format: 'image/png', attribution: "NEXRAD coutresy of IEM", transparent: "true", noWrap: true }); "US NEXRAD": agronNexrad, to groupedOverlays
I am using these layers currently. I don't really like the radar that is used with it, and it requires a $25/month api if you want to use it with any kind of regularity. I like the nexrad imagery on the ADSBx global view better. I have no idea what the API requirements are though. I understand there are other base maps, I want to be able to change them from the map page rather than the VRS app settings, as is done here and not a part of the nitro999 layers.
Ummm ... ADSBx does it exactly how the nitro999 layers does it. VRS has a bug with the base layer that I don't feel like handing out a hack that's is not a fix. VRS dev needs to fix it. Here is how you add them .... Code: var Esri_WorldImagery = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', { attribution: 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community' }) var nasa_night = L.tileLayer('https://map1.vis.earthdata.nasa.gov/wmts-webmerc/VIIRS_CityLights_2012/default/{time}/{tilematrixset}{maxZoom}/{z}/{y}/{x}.{format}', { attribution: 'Imagery provided by services from the Global Imagery Browse Services (GIBS), operated by the NASA/GSFC/Earth Science Data and Information System (<a href="https://earthdata.nasa.gov">ESDIS</a>) with funding provided by NASA/HQ.', bounds: [ [-85.0511287776, -179.999999975], [85.0511287776, 179.999999975] ], minZoom: 1, maxZoom: 8, noWrap: true, format: 'jpg', time: '', tilematrixset: 'GoogleMapsCompatible_Level' }); // Add current NASA Sattelite var d = new Date(); var curr_date = d.getDate() - 1; var curr_month = d.getMonth() + 1; var curr_year = d.getFullYear(); if (curr_date < 10) { curr_date = '0' + curr_date }; if (curr_month < 10) { curr_month = '0' + curr_month }; var time = (curr_year + "-" + curr_month + "-" + curr_date); var nasaSat = L.tileLayer('https://map1a.vis.earthdata.nasa.gov/wmts-webmerc/VIIRS_SNPP_CorrectedReflectance_TrueColor/default/' + time + '/GoogleMapsCompatible_Level9/{z}/{y}/{x}.jpg', { maxZoom: 8, id: 'satelite', noWrap: true, attribution: "NASA" }) var wikiMedia = L.tileLayer('https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png'); var cartoDark = L.tileLayer('https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png'); var cartoLight = L.tileLayer('https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png'); var stamenToner = L.tileLayer('https://a.tile.stamen.com/toner/{z}/{x}/{y}.png'); var osmAttrib = 'Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors'; var OSM = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { minZoom: 4, maxZoom: 18, attribution: osmAttrib }); // Define menu items var groupedOverlays = { "Base Maps": { "OpenStreetMap (OSM)": OSM, "ESRI World": Esri_WorldImagery, "NASA Gibs Night": nasa_night, "NASA Sat": nasaSat, "Wikimedia": wikiMedia, "Carto Dark": cartoDark, "Carto Light" : cartoLight, "Stamen Toner" : stamenToner}, "Global Airspace": { "Airspace": openAIPairspace, "Navaids": tacanVOR, "Airfields": openAIPairfields }, //"Global Weather": { //"Cloud": aerisCloud, //"Rain radar": aerisInfraSat, //"Wind" : aerisWind, //"Air pressure (QNH)": aerisPressure, // "Satellite" : nasaSat, //"Daylight and Night" : dayNight //}, "UK overlays": { "A2A refuelling areas": aaraGroup, "Military radar corridors": radarGroup, "Waypoints": waypoints, "Civil airfields": civilAirfields, "Military airfields": milAirfields, "Northern Europe airspace": ofmEurope } } L.control.groupedLayers(null, groupedOverlays).addTo(map);