Drawing an overlayed circle
Posted: Wed Feb 03, 2010 9:26 pm
I currently have a map (http://www.ukbigfreeze.co.uk/locations.php) which draws on squares at specific locations using data in a list file using this code:
This works perfectly. However, I would like to change it so instead of squares it draws circles but I'm unsure how to do this. If anyone could help it'd be much appreciated.
Regards
Josh
Code: Select all
<?
for ($i = 0; $i < count($places); $i++)
{
$place = spliti(",",$places[$i]);
$xloc = $place[0];
$yloc = $place[1];
echo "<area shape='imageellipse' coords='=";
echo $xloc;
echo ", ";
echo $yloc;
echo ", ";
echo $xloc + 10;
echo ", ";
echo $yloc + 10;
echo "' href='/?locations=";
echo strtolower($place[2]);
echo "' class='showTip ";
echo $place[2];
echo "' target='_parent'>\n";
}
?>Regards
Josh