[mapserver-users] Draw lines in a map
Lowell Filak
lfilak at medinaco.org
Wed Jun 19 11:54:43 PDT 2002
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 at 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
More information about the MapServer-users
mailing list