Opened 17 years ago

Closed 17 years ago

#2058 closed defect (fixed)

MIssing MS_FOLLOW constant in PHP MapScript

Reported by: dmorissette Owned by: dmorissette
Priority: high Milestone:
Component: MapScript-PHP Version: 4.10
Severity: normal Keywords:
Cc:

Description

-------- Original Message --------
Subject: 	[UMN_MAPSERVER-USERS] [PHPMapScript] Pb to set the angle 
property of a LabelObj
Date: 	Wed, 4 Apr 2007 18:00:52 +0200
From: 	Loïc MAZE <lm@GEOSPHERE.FR>
Reply-To: 	Loïc MAZE <lm@GEOSPHERE.FR>
To: 	MAPSERVER-USERS@LISTS.UMN.EDU

Hi all,
 
I have some troubles with the current version of PHPMapScript. My 
problem is very simple : I would like to set the "ANGLE" property of a 
LabelObj with the value "FOLLOW". I have searched a way to do a such 
thing but it was unsuccessful. The only thing I have found is how to set 
this property with the value "AUTO" (with the following code : 
$oLabel->set("autoangle", MS_AUTO); ).
 
For information, I use the latest version of MapServer and PHPMapScript.
 
Any information in this regard will be really appreciated.
Many thanks in advance,
 
Loïc

Change History (2)

comment:1 by dmorissette, 17 years ago

Owner: changed from mapserverbugs to dmorissette
I checked the source and the MS_FOLLOW constant is missing. It simply needs to
be added to php_mapscript.c.

Taking this bug.

comment:2 by dmorissette, 17 years ago

Resolution: fixed
Status: newclosed
Fixed. Added MS_FOLLOW constant to PHP MapScript in CVS HEAD (future 5.0) and in
4.10 branch (will be in 4.10.2)
Note: See TracTickets for help on using tickets.