hi
still I am not getting how to connect two points which are already placed in
map , by drawing a line. It is mandatory in my project through php
mapscript. plz help me soon
thank u
___
mapserver-users mailing list
.
From: Amiya Patra amiyapatra...@gmail.com
To: mapserver-users@lists.osgeo.org
Sent: Thursday, January 22, 2009 7:53:23 AM
Subject: [mapserver-users] plz help
hi
still I am not getting how to connect two points which are already placed in
map , by drawing a line
- Original Message -
From: Amiya Patra
To: mapserver-users@lists.osgeo.org
Sent: Thursday, January 22, 2009 2:53 PM
Subject: [mapserver-users] plz help
hi
still I am not getting how to connect two points which are already placed in
map , by drawing a line. It is mandatory
Amiya: There are a couple of ways to do it, here's the pseudo code. This
assumes you have the two points in variables $x1, $y1 and $x2, $y2:
Option 1 - Build the line using points, lines and shapes
$shape = new shapeObj(MS_SHAPE_LINE);
$line = new lineObj();
$point = new pointObj($x1, y1);
hi
Extremely sorryNow I got . sorry for shouting without trying
.Actually I got deadline. in my project...thats why..
Anyway thank u all 4 response
Amiya
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
hi
can anyone help me by telling that how to draw line between two points via
php-mapscript using shapeobject I mean to say what methods I will use.
Plz help
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org