[mapserver-users] Draw lines in a map
Lowell Filak
lfilak@medinaco.org
Wed, 19 Jun 2002 14:54:43 -0400
You could use mapscript with a template layer in the mapfile to do this:
..
$p->{x} = $originx;
$p->{y} = $originy;
$line->add($p);
$p->{x} = $endx;
$p->{y} = $endy;
$line->add($p);
$layer->addFeature($line);
..
Lowell F.
The following message was sent by "Nacho Benito" <nachobenito75@hotmail.com> on Tue, 18 Jun 2002 10:21:51 +0200.
> Hi,
> How I can draw lines in a map between two points if I send the origin and
> end coordinates?
> Sorry for my poor English
> Thank's
> Nacho
>
> _________________________________________________________________
> Hable con sus amigos en línea, pruebe MSN Messenger: http://messenger.msn.es