Opened 14 years ago

Closed 13 years ago

#1522 closed enhancement (fixed)

Small extensions to the templates viewerfiles/arearule.templ and viewerfiles/linerule.templ

Reported by: gabrimonfa Owned by: brucedechant
Priority: low Milestone: 2.3
Component: General Version: 2.2.0
Severity: trivial Keywords: haspatch
Cc: External ID:

Description

Some properties are parameterized in these templates while others are simply hardcoded. The idea is to extend the two templates to be more parametric

In particular, thickness and color of the stroke in the arearule

http://trac.osgeo.org/mapguide/attachment/ticket/1281/arearule.templ.diff

and thickness of the linerule

http://trac.osgeo.org/mapguide/attachment/ticket/1281/linerule.templ.diff

In order for this to work also the function calling the templates should be modified accordingly.

For php the function is mapviewerphp/layerdefinitionfactory.php

The needed modifications are in the diff file attached

Attachments (1)

layerdefinitionfactory.php.diff (1.2 KB ) - added by gabrimonfa 14 years ago.

Download all attachments as: .zip

Change History (5)

by gabrimonfa, 14 years ago

comment:1 by brucedechant, 14 years ago

Owner: set to brucedechant

comment:2 by zspitzer, 13 years ago

Keywords: haspatch added

comment:3 by brucedechant, 13 years ago

We should parameterize all of the parameters instead of just a few.

comment:4 by brucedechant, 13 years ago

Milestone: 2.3
Resolution: fixed
Status: newclosed

Fixed trunk r5876

Note: See TracTickets for help on using tickets.