5,15c5
<
< html, body {
< margin: 0 0 0 0;
< padding: 0 0 0 0;
< }
<
< span {
< text-shadow: -1px 1px 1px #952dff;
< }
<
< #myimg {
---
> #myimg {
17,18c7,8
< animation:mymove 2.5s 2;
< -webkit-animation:mymove 2.5s 2; /* Safari and Chrome */
---
> animation:mymove 5s infinite;
> -webkit-animation:mymove 5s infinite; /* Safari and Chrome */
24c14
< 100% { clip-path: circle(128% at 240px 240px) }
---
> 100% { clip-path: circle(16% at 140px 140px) }
30c20
< 100% { clip-path: circle(128% at 240px 240px) }
---
> 100% { clip-path: circle(16% at 140px 140px) }
49,51c39
< var documentURL=document.URL;
< var endlinedone=false;
< var xp=0, yp=0, num=0, ameridian='', acircleoflatitude='', bmeridian='', bcircleoflatitude='', needtocheck=true, topc='90';
---
> var xp=0, yp=0, num=0;
53,168c41
< var screenlong=-9, screenlat=-9, askfor=null, enforcedlong=false, enforcedxp=-999, one=0, two=0, three=0, four=0;
< var screenwidth=screen.width, screenheight=screen.height;
<
< var wasthisso='';
< if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
< wasthisso='' + (screen.msOrientation || screen.mozOrientation || (screen.orientation || {}).type); //"portrait";
< if (wasthisso == 'portrait') {
< screenwidth=window.innerWidth;
< screenheight=window.innerHeight;
< } else {
< screenwidth=window.innerHeight;
< screenheight=window.innerWidth;
< }
< documentURL=documentURL + '&nolines=y';
< if (documentURL.indexOf('.html') != -1) {
< location.href=document.URL.replace('.html','.htm');
< }
< }
<
< function checkll(smlong, lglat, lglong, smlat) {
< for (var am=-180; am<=180; am+=10) {
< if (am >= smlong && am <= lglong) {
< if (eval((am + 180) % 180) == 0) {
< bmeridian+=' ' + (('' + am).replace('-','') + (('' + am).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich
Meridian').replace(/^180E/g,' International
Date
Line').replace(/^180W/g,'International
Date
Line').replace('E','°E').replace('W','°W') + '
';
< } else {
< bmeridian+=' ' + (('' + am).replace('-','') + (('' + am).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich
Meridian').replace(/^180E/g,' International
Date
Line').replace(/^180W/g,'International
Date
Line').replace('E','°E').replace('W','°W') + '
';
< }
< }
< }
< }
<
< function rightchecklls(smlong, lglat, lglong, smlat, scbl) {
< var joff=0;
< topc='90';
< bmeridian='';
< bcircleoflatitude='';
< if (lglong > 180) {
< joff=eval(-180 + lglong);
< }
< smlong-=joff;
< lglong-=joff;
< for (var al=90; al>=-90; al-=10) {
< if (al >= smlat && al <= lglat) {
< if (topc == '90') { topc='' + eval(91 + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight))); }
< if (eval((al + 90) % 90) == 0) {
< bcircleoflatitude+=' ' + (('' + al).replace('-','') + (('' + al).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,' North Pole').replace(/^90S$/g,' South Pole').replace(/^0N$/g,' Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '
';
< } else {
< bcircleoflatitude+=' ' + (('' + al).replace('-','') + (('' + al).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,' North Pole').replace(/^90S$/g,' South Pole').replace(/^0N$/g,' Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '
';
< }
< if (al == 70) {
< bcircleoflatitude+=' ' + 'Arctic Circle' + '
';
< }
< if (al == 30) {
< bcircleoflatitude+=' ' + 'Tropic of Cancer' + '
';
< }
< if (al == -20) {
< bcircleoflatitude+=' ' + 'Tropic of Capricorn' + '
';
< }
< if (al == -60) {
< bcircleoflatitude+=' ' + 'Antarctic Circle' + '
';
< }
< }
< }
< for (var am=-180; am<=250; am+=10) {
< if (am >= smlong && am <= lglong) {
< if (am > 180) {
< bmeridian+=' ' + (('' + eval(am - 360)).replace('-','') + (('' + eval(am - 360)).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich
Meridian').replace(/^180E/g,' International
Date
Line').replace(/^180W/g,'International
Date
Line').replace('E','°E').replace('W','°W') + '
';
< } else {
< bmeridian+=' ' + (('' + am).replace('-','') + (('' + am).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich
Meridian').replace(/^180E/g,' International
Date
Line').replace(/^180W/g,'International
Date
Line').replace('E','°E').replace('W','°W') + '
';
< }
< }
< }
< }
<
< function checklls(smlong, lglat, lglong, smlat) {
< var joff=0;
< topc='90';
< bmeridian='';
< bcircleoflatitude='';
< //if (lglong > 180) {
< // joff=eval(-180 + lglong);
< //}
< smlong-=joff;
< lglong-=joff;
< for (var al=90; al>=-90; al-=10) {
< if (al >= smlat && al <= lglat) {
< if (topc == '90') { topc='' + eval(91 + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight))); }
< if (eval((al + 90) % 90) == 0) {
< bcircleoflatitude+=' ' + (('' + al).replace('-','') + (('' + al).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,' North Pole').replace(/^90S$/g,' South Pole').replace(/^0N$/g,' Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '
';
< } else {
< bcircleoflatitude+=' ' + (('' + al).replace('-','') + (('' + al).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,' North Pole').replace(/^90S$/g,' South Pole').replace(/^0N$/g,' Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '
';
< }
< if (al == 70) {
< bcircleoflatitude+=' ' + 'Arctic Circle' + '
';
< }
< if (al == 30) {
< bcircleoflatitude+=' ' + 'Tropic of Cancer' + '
';
< }
< if (al == -20) {
< bcircleoflatitude+=' ' + 'Tropic of Capricorn' + '
';
< }
< if (al == -60) {
< bcircleoflatitude+=' ' + 'Antarctic Circle' + '
';
< }
< }
< }
< for (var am=-180; am<=250; am+=10) {
< if (am >= smlong && am <= lglong) {
< if (am > 180) {
< bmeridian+=' ' + (('' + eval(am - 360)).replace('-','') + (('' + eval(am - 360)).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich
Meridian').replace(/^180E/g,' International
Date
Line').replace(/^180W/g,'International
Date
Line').replace('E','°E').replace('W','°W') + '
';
< } else {
< bmeridian+=' ' + (('' + am).replace('-','') + (('' + am).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich
Meridian').replace(/^180E/g,' International
Date
Line').replace(/^180W/g,'International
Date
Line').replace('E','°E').replace('W','°W') + '
';
< }
< }
< }
< }
---
> var screenlong=-9, screenlat=-9, askfor=null, enforcedlong=false, enforcedxp=-999;
171,172c44
< var xdiff=0, ydiff=0;
< var longforce='-999', latforce='-999', prevone=0, prevtwo=0, prevthree=0, prevfour=0, docreep=true, nosecgo=false;
---
> var longforce='-999', latforce='-999';
174,176c46,48
< screenlong=eval(360 * screenwidth / document.getElementById('myimg').width);
< screenlat=eval(180 * screenheight / document.getElementById('myimg').height);
< document.getElementById('myimg').onclick=function() { askfor=prompt('Earth Scanner - RJM Programming - February, 2024 ... ' + String.fromCharCode(10) + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + 'Currently top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + xp * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + xp * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ').' + String.fromCharCode(10) + 'Where do you want middle of screen to be in terms of Longitude,Latitude? Prefix with space to show meridians and/or suffix with space to not show meridians.', ''); };
---
> screenlong=eval(360 * screen.width / document.getElementById('myimg').width);
> screenlat=eval(180 * screen.height / document.getElementById('myimg').height);
> document.getElementById('myimg').onclick=function() { askfor=prompt('Earth Scanner - RJM Programming - February, 2024 ... ' + String.fromCharCode(10) + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + 'Currently top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + xp * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and in the middle is (' + eval(-180 + eval(screenlong / 2) + xp * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ').' + String.fromCharCode(10) + 'Where do you want middle of screen to be in terms of Longitude,Latitude?', ''); };
180,190d51
< if (askfor.trim() != askfor) {
< if (askfor.slice(-1) == ' ') {
< documentURL=documentURL + '&nolines=y';
< needtocheck=false;
< }
< if (askfor.substring(0,1) == ' ') {
< documentURL=documentURL.replace('nolines=', 'noXlines=');
< needtocheck=true;
< }
< askfor=askfor.trim();
< }
194,195d54
< needtocheck=true;
< docreep=false;
199,215d57
< needtocheck=true;
< docreep=false;
< }
< if (eval(latforce - screenlat / 2) < -90) {
< latforce=eval(-90 + screenlat / 2);
< }
< if (eval(eval(longforce - screenlong / 2) % screenlong) != 0) {
< var xxp=eval(-180.0 + eval(screenlong / 2));
< while (xxp < longforce) { // && xxp < eval(180 - screenlong / 2)) {
< xxp+=screenlong;
< endlinedone=true;
< }
< if (Math.abs(xxp - longforce) > eval(screenlong / 2) || xxp >= 180) {
< xxp-=screenlong;
< }
< longforce=xxp;
< //alert('Adjust to ' + longforce);
223,231d64
< //if (eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) > 173 && eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) < 180) {
< // while (eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) > 173 && eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) < 180) {
< // xp+=0.001;
< // }
< //}
< //xp-=5;
< if (endofline) {
< checklls(eval(-180 + xp * 360 / 100), eval(90 - yp * 180 / 100), eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - screenlat - yp * 180 / 100));
< }
238,246d70
< if (9 == 5 && !endlinedone && eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) > eval(180 - screenlong / 1) && eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) < 180) {
< //alert('adjust ' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ' vs ' + eval(180 - screenlong / 2));
< while (eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) > eval(180 - screenlong / 1) && eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) < 180) {
< xp-=0.001;
< }
< xp+=0.001;
< endlinedone=true;
< //alert('' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ' adJust ' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ' vs ' + eval(180 - screenlong / 2));
< }
248,299c72,74
< document.getElementById('myimg').title='Earth Scanner - RJM Programming - February, 2024 ... ' + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + String.fromCharCode(10) + 'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
< document.title=document.getElementById('myimg').title; //'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
< if (!docreep) {
< //alert(document.title);
< xdiff=eval((enforcedxp > -990 ? enforcedxp : xp) * eval('' + document.getElementById('myimg').width) / 100);
< ydiff=eval(yp * eval('' + document.getElementById('myimg').height) / 100);
< var startkeys=fixkeys;
< var coords=fixkeys.split('px');
< for (var ic=0; ic -990 ? enforcedxp : xp) * 360 / 100), eval(90 - screenlat - yp * 180 / 100));
< //checklls(one,two,three,four); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
< //needtocheck=false;
< }
< if ((ameridian + acircleoflatitude + bmeridian + bcircleoflatitude) == '' || documentURL.indexOf('nolines=') != -1) {
< document.getElementById('dstyle').innerHTML=startkeys; //.replace(/mymove/g, 'mymove' + num);
< } else {
< document.getElementById('dstyle').innerHTML=ameridian + acircleoflatitude + bmeridian + bcircleoflatitude + startkeys; //.replace(/mymove/g, 'mymove' + num);
< }
< num++;
< //docreep=true;
< //return '';
< }
< one=eval(-180 + xp * 360 / 100);
< two=eval(90 - yp * 180 / 100);
< three=eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
< four=eval(90 - screenlat - yp * 180 / 100);
< if (!docreep) {
< if (documentURL.indexOf('nolines=') == -1) {
< num++;
< xp+=5;
< prevone=one; //eval(-180 + xp * 360 / 100);
< prevtwo=two; //eval(90 - yp * 180 / 100);
< prevthree=three; //eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
< prevfour=four; //eval(90 - screenlat - yp * 180 / 100);
< return '';
< }
< }
< if (docreep) {
< //if (eval(90 - screenlat - yp * 180 / 100) < -90) {
< // alert('three=' + three + ' and xp=' + xp + ' and yp=' + yp);
< //}
< // three=-132 and xp=0 and yp=88.33333333333333
< // three=-114 and xp=5 and yp=88.33333333333333
< if (xp < 90 && three < 180) {
---
> document.getElementById('myimg').title='Earth Scanner - RJM Programming - February, 2024 ... ' + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + String.fromCharCode(10) + 'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and in the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
> document.title=document.getElementById('myimg').title; //'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and in the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
> if (xp < 95) {
301,311c76
< if (documentURL.indexOf('nolines=') == -1) {
< bmeridian='';
< eval("window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 5)) * eval('' + document.getElementById('myimg').width) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
< document.getElementById('myimg').title='Earth Scanner - RJM Programming - February, 2024 ... ' + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + String.fromCharCode(10) + 'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + (enforcedxp > -990 ? enforcedxp : (xp - 5)) * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : (xp - 5)) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
< document.title=document.getElementById('myimg').title; //'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
< //alert(345);
< checklls(prevone,prevtwo,prevthree,prevfour); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
< //needtocheck=false;
< //alert('ouch1');
< }
< } else if (yp >= 85 && (xp >= 90 || three >= 180)) { // used to be 95
---
> } else if (yp >= 95 && xp >= 95) {
313d77
< endlinedone=false;
316,385c80,82
< if (document.getElementById('mydl')) {
< document.getElementById('mydl').style.display='none';
< acircleoflatitude='';
< }
< if (document.getElementById('mydm')) {
< document.getElementById('mydm').style.display='none';
< ameridian='';
< }
< needtocheck=true;
< bcircleoflatitude='';
< bmeridian='';
< //location.href=documentURL;
<
< if (3 == 6) {
< eval("window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 0)) * eval('' + document.getElementById('myimg').width) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
< document.getElementById('myimg').title='Earth Scanner - RJM Programming - February, 2024 ... ' + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + String.fromCharCode(10) + 'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + (enforcedxp > -990 ? enforcedxp : (xp - 0)) * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : (xp - 0)) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
< document.title=document.getElementById('myimg').title; //'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
< bcircleoflatitude='';
< bmeridian='';
< nosecgo=true;
< //checklls(prevone,prevtwo,prevthree,prevfour); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
< //checklls(one,two,three,four); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
< checklls(eval(-180 + xp * 360 / 100), eval(90 - yp * 180 / 100), eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - screenlat - yp * 180 / 100), "window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 0)) * eval('' + document.getElementById('myimg').width) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
< }
< xp=-5;
<
< } else {
< xp+=5;
< xdiff=eval((enforcedxp > -990 ? enforcedxp : xp) * eval('' + document.getElementById('myimg').width) / 100);
< ydiff=eval(yp * eval('' + document.getElementById('myimg').height) / 100);
< if (needtocheck && documentURL.indexOf('nolines=') == -1) {
< prevone=eval(-180 + xp * 360 / 100);
< prevtwo=eval(90 - yp * 180 / 100);
< prevthree=eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
< prevfour=eval(90 - screenlat - yp * 180 / 100);
<
< eval("window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 0)) * eval('' + document.getElementById('myimg').width) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
< document.getElementById('myimg').title='Earth Scanner - RJM Programming - February, 2024 ... ' + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + String.fromCharCode(10) + 'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + (enforcedxp > -990 ? enforcedxp : (xp - 0)) * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : (xp - 0)) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
< document.title=document.getElementById('myimg').title; //'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
< bcircleoflatitude='';
< bmeridian='';
< nosecgo=true;
< //checklls(prevone,prevtwo,prevthree,prevfour); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
< //checklls(one,two,three,four); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
< rightchecklls(eval(-180 + xp * 360 / 100), eval(90 - yp * 180 / 100), eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - screenlat - yp * 180 / 100), "window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 0)) * eval('' + document.getElementById('myimg').width) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
< //alert(1345);
< }
< if (document.getElementById('mydl')) {
< document.getElementById('mydl').style.display='none';
< acircleoflatitude='';
< }
< needtocheck=true;
< setTimeout(function(){
< endlinedone=false;
< yp+=5;
< xp=0;
< one=eval(-180 + xp * 360 / 100);
< two=eval(90 - yp * 180 / 100);
< three=eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
< four=eval(90 - screenlat - yp * 180 / 100);
< bcircleoflatitude='';
< bmeridian='';
< }, 1000);
< }
< }
<
<
< if (xdiff == 0 && ydiff == 0) {
< xdiff=eval((enforcedxp > -990 ? enforcedxp : xp) * eval('' + document.getElementById('myimg').width) / 100);
< ydiff=eval(yp * eval('' + document.getElementById('myimg').height) / 100);
---
> } else {
> yp+=5;
> xp=0;
386a84,85
> var xdiff=eval((enforcedxp > -990 ? enforcedxp : xp) * eval('' + document.getElementById('myimg').width) / 100);
> var ydiff=eval(yp * eval('' + document.getElementById('myimg').height) / 100);
397,403d95
< if (needtocheck && documentURL.indexOf('nolines=') == -1) {
< //checklls(eval(-180 + xp * 360 / 100), eval(90 - yp * 180 / 100), eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - screenlat - yp * 180 / 100));
< if (!nosecgo) { checklls(one,two,three,four); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100)); }
< //needtocheck=false;
< //alert('ouch2');
< }
< if ((ameridian + acircleoflatitude + bmeridian + bcircleoflatitude) == '' || documentURL.indexOf('nolines=') != -1) {
405,407d96
< } else {
< document.getElementById('dstyle').innerHTML=ameridian + acircleoflatitude + bmeridian + bcircleoflatitude + startkeys; //.replace(/mymove/g, 'mymove' + num);
< }
409,412d97
< prevone=one; //eval(-180 + xp * 360 / 100);
< prevtwo=two; //eval(90 - yp * 180 / 100);
< prevthree=three; //eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
< prevfour=four; //eval(90 - screenlat - yp * 180 / 100);
414d98
< }
424,430d107
< if (documentURL.indexOf('nolines=') == -1) {
< if (('' + latis).split('.0')[0].slice(-1) == '0') {
< acircleoflatitude='
';
< } else {
< acircleoflatitude='
';
< }
< }
434,440d110
< if (documentURL.indexOf('nolines=') == -1) {
< if (('' + longis).split('.0')[0].slice(-1) == '0') {
< ameridian='
';
< } else {
< ameridian='
';
< }
< }
442d111
<