I have made progress:
In mall2.php, the first line below was missing, so the ImageFill() couldn't work
$blue=ImageColorAllocate($image,100,100,255);// was missing-kg
ImageFill($image, $center[0], $center[1], $blue);
Also, I added the first of these lines, at the top
$show=$_GET['show'];
if ($show!="") {
Additional comment-this example project is a neat use of gd graphics, using ImageFill() to present data graphically. I recommend it.
(In a couple of weeks -when I get back from a holiday-I'll try to get the rest of the interactive map ideas working)
Ken
Ken
|