wkitty42 on the mailing list wrote:On 10/10/19 6:24 AM, Alan Teeder wrote:
> I am no longer seeing the large map with Phi. The small map is still there.
probably the site the map is pulled from (vfrmap.com) has changed cycles again... this seems to be an ongoing problem that requires one to inspect the site and edit the phi files as necessary to restore the functionality...
[time passes]
yup... the cycle has changed again... i'm not sure but i think the only file that really needs to be fixed is topics/Map.js but i did all three of them anyway... i may have edited mine last year so the cycle date in the minus lines may not be what is currently in the repo... i just tested and this is WAD (Working As Desired) now...
----->8 snip 8<-----
wkitty42@shadow:~/flightgear-dev/fgdata-ng/Phi$ git diff
diff --git a/Phi/map/index-2.0.html b/Phi/map/index-2.0.html
index c99d901..96ca894 100644
--- a/Phi/map/index-2.0.html
+++ b/Phi/map/index-2.0.html
@@ -151,7 +151,7 @@ html,body {
// "NAVDB" : navdbLayer,
// "AI" : aiLayer,
"VFRMap.com Sectionals (US)" : new L.TileLayer(
- 'http://vfrmap.com/20180104/tiles/vfrc/{z}/{y}/{x}.jpg',
+ 'http://vfrmap.com/20190912/tiles/vfrc/{z}/{y}/{x}.jpg',
{
maxZoom : 12,
minZoom : 3,
@@ -162,7 +162,7 @@ html,body {
}),
"VFRMap.com - Low IFR (US)" : new L.TileLayer(
- 'http://vfrmap.com/20180104/tiles/ifrlc/{z}/{y}/{x}.jpg',
+ 'http://vfrmap.com/20190912/tiles/ifrlc/{z}/{y}/{x}.jpg',
{
maxZoom : 12,
minZoom : 5,
diff --git a/Phi/map/index-old.html b/Phi/map/index-old.html
index 243961b..7ccf70a 100644
--- a/Phi/map/index-old.html
+++ b/Phi/map/index-old.html
@@ -516,7 +516,7 @@ html,body,#map {
"NAVDB" : navdbLayer,
"AI" : aiLayer,
"VFRMap.com Sectionals (US)" : new L.TileLayer(
- 'http://vfrmap.com/20180104/tiles/vfrc/{z}/{y}/{x}.jpg',
+ 'http://vfrmap.com/20190912/tiles/vfrc/{z}/{y}/{x}.jpg',
{
maxZoom : 12,
minZoom : 3,
@@ -527,7 +527,7 @@ html,body,#map {
}),
"VFRMap.com - Low IFR (US)" : new L.TileLayer(
- 'http://vfrmap.com/20180104/tiles/ifrlc/{z}/{y}/{x}.jpg',
+ 'http://vfrmap.com/20190912/tiles/ifrlc/{z}/{y}/{x}.jpg',
{
maxZoom : 12,
minZoom : 5,
diff --git a/Phi/topics/Map.js b/Phi/topics/Map.js
index e9f6615..fe7d35e 100644
--- a/Phi/topics/Map.js
+++ b/Phi/topics/Map.js
@@ -147,7 +147,7 @@ define([
transparent: true
}),
- "VFRMap.com Sectionals (US)" : new L.TileLayer('http://vfrmap.com/20180104/tiles/vfrc/{z}/{y}/{x}.jpg', {
+ "VFRMap.com Sectionals (US)" : new L.TileLayer('http://vfrmap.com/20190912/tiles/vfrc/{z}/{y}/{x}.jpg', {
maxZoom : 12,
minZoom : 3,
attribution : '© <a target="_blank" href="http://vfrmap.com">VFRMap.com</a>',
@@ -156,7 +156,7 @@ define([
bounds : L.latLngBounds(L.latLng(16.0, -179.0), L.latLng(72.0, -60.0)),
}),
- "VFRMap.com - Low IFR (US)" : new L.TileLayer('http://vfrmap.com/20180104/tiles/ifrlc/{z}/{y}/{x}.jpg', {
+ "VFRMap.com - Low IFR (US)" : new L.TileLayer('http://vfrmap.com/20190912/tiles/ifrlc/{z}/{y}/{x}.jpg', {
maxZoom : 12,
minZoom : 5,
attribution : '© <a target="_blank" href="http://vfrmap.com">VFRMap.com</a>',
----->8 snip 8<-----
Robertfm wrote in Mon Jan 27, 2020 9:28 pm:As map uses Open Street Map as the main source is it possible to add this topography map which enables pop-out altitudes . https://en-gb.topographic-map.com/maps/b9/England/ according to the credit bottom right it is Open Street Map.
Robertfm wrote in Tue Jan 28, 2020 10:00 am:There are literally hundreds of altitudes in UK alone. Using the Topography Map wouldn't be a problem if it could be opened to full screen but that doesn't seem possible either. I am afraid coding is beyond me, sorry.
Robertfm wrote in Tue Feb 25, 2020 5:49 pm:Why doesn't the map mover with touch but still move with mouse.
Users browsing this forum: No registered users and 2 guests