3 <meta http
-equiv
="Content-Type" content
="text/html; charset=UTF-8" />
8 List of patterns which are quaranteed to work in all versions of geobox
.
13 function Markup($a=0, $b=0, $c=0, $d=0)
18 function SDV(&$v,$x) { if (!isset($v)) $v=$x; }
19 function SDVA(&$v,$x) { /*required for link list, not used here */ }
21 define("PmWiki", "1");
22 include("geobox.php");
30 $c[] = "50.230° 14.440°";
31 $c[] = "50°35.4' 14°22'";
32 $c[] = "50.3°35.4'44\" 14.1°22'22\"";
33 $c[] = "N 50.3°35.4'44'' E14.1°22'22''";
34 $c[] = " 50.3°35.4'44''N 14.1°22'22''W";
38 $r = geobox_parse_coords($coord);
39 echo "<div>Str: \"$coord\" -> [${r[0]},${r[1]},${r['result']}] </div>\n";