sonny
02-27-2012, 07:53 AM
Hi I have a location map based on lon and lat, everything works fine
$im = imagecreatefromjpeg("earth.jpg");
$dotcolor = imagecolorallocate ($im, 255,255,0);//yellow
imagefilledrectangle($im,$pt["x"]-2,$pt["y"]-2,$pt["x"]+2,$pt["y"]+2,$dotcolor);
is their a way to use a image png as my location dot, instead of using the
imagecolorallocate code which produces a box like point?
Thanks
Sonny
$im = imagecreatefromjpeg("earth.jpg");
$dotcolor = imagecolorallocate ($im, 255,255,0);//yellow
imagefilledrectangle($im,$pt["x"]-2,$pt["y"]-2,$pt["x"]+2,$pt["y"]+2,$dotcolor);
is their a way to use a image png as my location dot, instead of using the
imagecolorallocate code which produces a box like point?
Thanks
Sonny