Plugins
[ class tree: Plugins ] [ index: Plugins ] [ all elements ]

Class: ServerOutline

Source Location: /plugins/outline/server/ServerOutline.php

Class Overview

PluginBase
   |
   --ServerPlugin
      |
      --ClientResponderAdapter
         |
         --ServerOutline

Server Outline class


Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 37]
Server Outline class



[ Top ]


Class Variables

$log =

[line 43]



Tags:

access:  private

Type:   Logger
Overrides:   Array


[ Top ]

$pathToSymbols =

[line 48]



Tags:

access:  protected

Type:   string


[ Top ]

$symbolType =

[line 53]



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


constructor __construct [line 59]

ServerOutline __construct( )

Constructor



Tags:

access:  public


Overrides ServerPlugin::__construct() (Constructor)

[ Top ]

method draw [line 259]

double draw( array $shapes, [boolean $maskMode = false])

Handles shapes drawing and area computation



Tags:

return:  area
access:  public


Parameters:

array   $shapes   array of StyledShape
boolean   $maskMode   mask mode

[ Top ]

method drawFeature [line 102]

void drawFeature( StyledShape $shape, string $layerName)



Tags:

access:  protected


Parameters:

StyledShape   $shape  
string   $layerName  

[ Top ]

method drawLine [line 181]

void drawLine( StyledShape $line)

Adds a line to Mapserver layer



Tags:

access:  protected


Parameters:

StyledShape   $line   line

[ Top ]

method drawMap [line 244]

void drawMap( MsMapObj $msMapObj)

Draws map using drawQuery() or draw()



Tags:

access:  protected


Parameters:

MsMapObj   $msMapObj   Mapserver Map object

[ Top ]

method drawPoint [line 166]

void drawPoint( StyledShape $point)

Adds a point to Mapserver layer

If point layer is not defined in configuration file, tries with polygon layer.




Tags:

access:  protected


Parameters:

StyledShape   $point   point

[ Top ]

method drawPolygon [line 199]

void drawPolygon( MsMapObj $polygon, StyledShape $maskMode, boolean 2)

Adds a polygon to Mapserver layer

If not in mask mode, simply draws Polygon.

If in mask mode, uses MapScript pasteImage function to simulate a mask. This function doesn't include transparency handling. Mask color is set in configuration file, key maskColor.




Tags:

access:  protected


Parameters:

boolean   2   mask mode on/off
MsMapObj   $polygon   Mapserver Map object
StyledShape   $maskMode   polygon

[ Top ]

method generateSymbolIcon [line 407]

void generateSymbolIcon( )

Generate symbol icons to be used with symbol picker



Tags:

access:  protected


[ Top ]

method getInit [line 323]

void getInit( )



Tags:

access:  public
see:  InitProvider::getInit


[ Top ]

method getMsClass [line 148]

ClassOverlay getMsClass( StyleOverlay $shapeStyle, LabelOverlay $labelStyle)



Tags:

access:  protected


Parameters:

StyleOverlay   $shapeStyle  
LabelOverlay   $labelStyle  

[ Top ]

method handleDrawing [line 311]

OutlineResult handleDrawing( OutlineRequest $requ)

Handles shapes drawing and area computation



Tags:

access:  public


Overrides ClientResponderAdapter::handleDrawing() (parent method not documented)

Parameters:

OutlineRequest   $requ  

[ Top ]

method toShapeObj [line 68]

ms_styleObj toShapeObj( Shape $shape)



Tags:

access:  protected


Parameters:

Shape   $shape  

[ Top ]


Documentation generated on Mon, 13 Feb 2006 11:44:09 +0100 by phpDocumentor 1.3.0RC3