There are three main steps involved in redlining:
- Pass the digitized coordinates from the client to the server.
- Create a temporary feature source. This will be used to draw the lines on.
- Create a layer to display that temporary feature source.
For example, see task_pane_redlining.php in the digitizing_features directory in the Developer Guide samples.