$width, "height" => $height, "border" => $border);
echo "Mobile MAP
\n";
echo "Display of OpenStreetMap tiles optimized for mobile devices with ";
echo "small screens
\n";
echo "To the map
\n";
echo "Search
\n";
echo "Upload and view GPX track
\n";
echo "Sourcecode
";
echo "Resolution
\n";
echo "Based on {$res["src"]} the resolution {$res["val"]} was picked. ";
if(count($res["options"]) > 1) {
echo "You might also want to try:
\n";
while(list($key, $option) = each($res["options"])) {
if($option != $res["val"]) {
$parts = split("x", $option);
echo "$option
\n";
}
}
}
echo "
\n";
echo "You can also measure your screensize and customize the display to your device:
\n";
echo "Measure screensize
\n";
echo "Set screensize manually
\n";
echo "\n";
?>