[fusion-trac] #251: Create a Client Redlining Task Pane widget

Fusion trac_fusion at osgeo.org
Tue Apr 28 11:02:41 EDT 2009


#251: Create a Client Redlining Task Pane widget
-------------------------+--------------------------------------------------
 Reporter:  pagameba     |         Owner:  aboudreault
     Type:  enhancement  |        Status:  new        
 Priority:  P1           |     Milestone:  2.1        
Component:  Widgets      |       Version:  SVN        
 Severity:  Major        |    Resolution:             
 Keywords:               |   External_id:             
    State:  New          |       Browser:  All        
       Os:  All          |  
-------------------------+--------------------------------------------------
Comment (by aboudreault):

 I have made and committed the first prototype of the redlining widget in
 r1832. For future enhancement, i will let Paul or Mike answer. For the
 moment, there is no persistent layer on the server. We can only
 save/upload a GML file. The styling information is not saved in the GML
 neither. [[BR]]

  * ApplicationDefinition extension:
    - TaskPane: the id of the html element to plate the task pane
    - DefaultControl: the default control that should be activated
    - UploadDirectory: the upload directory where the uploaded files are
 saved. That directory have to be accessible from the web Default is
 "/uploads/" (see also upload.php)
    - FeatureStyle: the default feature style. You can put any feature
 style property here. The properties will be add to the OpenLayers.Style
 object.
    ie:
    {{{
     <Widget xsi:type="UiWidgetType">
       <Name>toolbarRedline</Name>
       <Type>Redline</Type>
       <StatusItem>Digitizing tool</StatusItem>
       <Extension xsi:type="CustomContentType">
         <Target>TaskPane</Target>
         <FeatureStyle>
           <fillColor>#0f0Ff0</fillColor>
           <strokeColor>#0133F1</strokeColor>
           <strokeWidth>5</strokeWidth>
         </FeatureStyle>
         <UploadDirectory>/uploads/</UploadDirectory>
         <DefaultControl>Rectangle</DefaultControl>
       </Extension>
       <ImageUrl>images/icons.png</ImageUrl>
       <ImageClass>Digitize</ImageClass>
       <Tooltip>Digitize</Tooltip>
       <Label>Digitize</Label>
       <Disabled/>
     </Widget>
    }}}

 '''NOTE:''' the defaultFeatureStyle property of the widget should be
 modified.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/251#comment:2>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list