Opened 15 years ago

Closed 15 years ago

#3175 closed defect (fixed)

ANGLE FOLLOW does not work

Reported by: iap Owned by: aboudreault
Priority: low Milestone:
Component: MapScript-PHP Version: unspecified
Severity: minor Keywords:
Cc:

Description

ANGLE FOLLOW for labels on line features does not work in PHPMapScript.

Test cases that did not work:

$label->set('angle', MS_FOLLOW);
$label->set('autoangle', MS_FALSE);
$label->set('angle', MS_FALSE);
$label->set('autoangle', MS_FOLLOW);

Change History (3)

comment:1 by aboudreault, 15 years ago

Owner: changed from aboudreau to aboudreault

The property "labelObj::anglefollow" cannot be modified in PHP/Mapscript. It should be added.

comment:2 by aboudreault, 15 years ago

autofollow has been added in the labelObj class. I've also added repeatdistance property. You can now set those properties like that:

$label->set("autofollow", MS_TRUE);
$label->set("repeatdistance", 80);

Fixed and committed in r9493.

comment:3 by aboudreault, 15 years ago

Resolution: fixed
Status: newclosed

Documentation updated in r9495.

Note: See TracTickets for help on using tickets.