Thank U!

It was a problem of PHP Script.
It's interesting, that if I outputed a picture in PNG format
the problem was the same.

See the script at the bottom.
When I change line
$im = imagecreatetruecolor($size, $size);
to
$im = imagecreatefrompng("transp.png");
where transp.png is quite transparent picture
and delete lines with word "transparent"
that began works.

Script that did not work.
=====================================
<?php

$r =  $_GET['r'];
$g =  $_GET['g'];
$b =  $_GET['b'];
$size = $_GET['size'];

$im    = imagecreatetruecolor($size, $size);
$color = imagecolorallocate($im, $r, $g,$b);
$transparent = imagecolorallocate($im, 1, 1, 1);

imagefilledrectangle($im, 0, 0, $size-1, $size-1, $transparent);
imagefilledellipse ($im, $size/2, $size/2, $size-1, $size-1, $white);
imagecolortransparent($im, $transparent);
imageAlphaBlending($im, true);
imageSaveAlpha($im, true);

header("Content-type: image/gif");
imagegif($im);
imagedestroy($im);
?>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to