[Cartoweb-users] Symbol Angle property in Outline plugin

Jady jadychow at gmail.com
Wed Nov 19 20:20:28 EST 2008


Hi all,

In the Outline plugin, I would like to allow user to define the angle of the
point symbol.  Followings are what I have added in the code:
1)  in the outline.tpl, with reference to the symbol size input, I added
"<input type="text" id="outline_point_angle" name="outline_point_angle"
value="{$outline_point_angle_selected}" />"
2)  in ClientOutline.php, I added "$this->outlineState->pointStyle->angle =
$this->getHttpValue($request, 'outline_point_angle');" in the
handleHttpPostRequest function
3)  in ClientOutline.php, added "'outline_point_angle_selected'   =>
$this->outlineState->pointStyle->angle" in drawOutline() function 

, however, error occurs saying "Undefined property:  StyleOverlay::$angle". 
So can I add the angle property to the styleoverlay?

Thank you very much.

Regards,
Jady
-- 
View this message in context: http://www.nabble.com/Symbol-Angle-property-in-Outline-plugin-tp20593286p20593286.html
Sent from the cartoweb-users mailing list archive at Nabble.com.



More information about the Cartoweb-users mailing list