Drawing line onto an image
| From: | Torkil Johnsen | Date: | Sun, 11 Nov 2001 01:46:25 +0000 |
| Subject: | Drawing line onto an image | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74140@lists.php.net to get a copy of this message | ||
Hello.
I'm looking for sample code on how I can solve this problem:
- I have a webpage.
- On the webpage I have a map. (gif image)
- I have two points on the map: a and b, with coordinates ax,ay and bx,by
- Now... I want to create a straight line that is drawn from a to b, and I
want this line to be displayed on top of the map.
So I want to make a php-generated line that is drawn upon a gif.
Maybe it is possible to draw this line inside a layer that is placed upon
the webpage with a higher z-index that that of the map gif?
... any clever minds out there?
Thanks in advance,
Torkil Johnsen