143c143 < mapwo=window.open(mapurl, '_blank', 'top=20,left=20,width=' + eval(-40 + screen.width) + ',height=' + eval(-40 + screen.height)); --- > mapwo=window.open(mapurl, '_blank', 'top=50,left=50,width=600,height=600'); 145c145 < mapwo=window.open(mapurl, '_blank', 'top=20,left=20,width=' + eval(-40 + screen.width) + ',height=' + eval(-40 + screen.height)); --- > mapwo=window.open(mapurl, '_blank', 'top=50,left=50,width=600,height=600'); 150,165d149 < function withinit(abi) { < var outi=''; < var putin=true; < for (var ii=0; ii') { < putin=true; < if (outi != '') { outi+=' '; } < } else if (putin) { < outi+=abi.substring(ii).substring(0,1); < } < } < return outi.replace('rror :', 'rror:'); < } < 168c152 < var what='', ourabi=''; --- > var what=''; 175d158 < ourabi='' + aconto.body.innerHTML; 180,182c163,165 < what=withinit(ourabi).replace(/\)/g,') '); < if (what.indexOf('rror:') != -1) { < alert(what + ' ' + ourlong); --- > what=aconto.body.innerText.replace(/\)/g,') '); > if (aconto.body.innerText.indexOf('rror:') != -1) { > alert(aconto.body.innerText.replace(/\)/g,') ') + ' ' + ourlong); 184c167 < morehuh=confirm(what + ' See these on a map? ' + ourlong); --- > morehuh=confirm(aconto.body.innerText.replace(/\)/g,') ') + ' See these on a map? ' + ourlong); 187,189c170,172 < what=withinit(ourabi).replace(/\)/g,') '); < if (what.indexOf('rror:') != -1) { < alert(what.replace(/\)/g,') ') + ' ' + ourl); --- > what=aconto.body.innerText.replace(/\)/g,') '); > if (aconto.body.innerText.indexOf('rror:') != -1) { > alert(aconto.body.innerText.replace(/\)/g,') ') + ' ' + ourl); 191c174 < morehuh=confirm(what.replace(/\)/g,') ') + ' See these on a map? ' + ourl); --- > morehuh=confirm(aconto.body.innerText.replace(/\)/g,') ') + ' See these on a map? ' + ourl); 288c271 < --- > 290c273 <  

GeoJSON World Coastline

RJM Programming - January, 2023

Thanks to https://d2ad6b4ur7yvpq.cloudfront.net/naturalearth-3.3.0/ne_110m_coastline.geojson

"; --- >  

GeoJSON World Coastline

RJM Programming - January, 2023

Thanks to https://d2ad6b4ur7yvpq.cloudfront.net/naturalearth-3.3.0/ne_110m_coastline.geojson

"; 312,317d294 < $bitsare=explode("}", $htmlis); < $onebit=$bitsare[0] . "}"; < $newh=str_replace($onebit, substr($onebit,0,(-1 + strlen($onebit))) . " context.stroke(); \n elem.style.cursor='pointer'; \n} \n " . $midbit, str_replace("", $abit . "", $htmlis)); < if (strpos($newh, "function ouralert(") === false) { < $newh=str_replace("", "\n" . $midbit . "\n" . "", $newh); < } 319c296 < file_put_contents('regions.html', $newh); --- > file_put_contents('regions.html', str_replace($onebit, substr($onebit,0,(-1 + strlen($onebit))) . " context.stroke(); \n elem.style.cursor='pointer'; \n} \n " . $midbit, str_replace("", $abit . "", $htmlis))); 321c298,300 < echo $newh; --- > $bitsare=explode("}", $htmlis); > $onebit=$bitsare[0] . "}"; > echo str_replace($onebit, substr($onebit,0,(-1 + strlen($onebit))) . " context.stroke(); \n elem.style.cursor='pointer'; \n} \n " . $midbit, str_replace("", $abit . "", $htmlis));