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

Class: ServerLocation

Source Location: /coreplugins/location/server/ServerLocation.php

Class Overview

PluginBase
   |
   --ServerPlugin
      |
      --ServerLocation

Server part of Location plugin


Variables

Methods


Child classes:

Inherited Variables

Inherited Methods


Class Details

[line 578]
Server part of Location plugin



[ Top ]


Class Variables

$log =

[line 584]



Tags:

access:  private

Type:   Logger
Overrides:   Array


[ Top ]

$scales =

[line 590]

Possible scales in discrete mode (some may be hidden)



Tags:

access:  private

Type:   array


[ Top ]

$visibleScales =

[line 596]

Scales to be displayed in dropdown box



Tags:

access:  private

Type:   array


[ Top ]



Class Methods


constructor __construct [line 601]

ServerLocation __construct( )

Constructor



Tags:

access:  public


Overrides ServerPlugin::__construct() (Constructor)

[ Top ]

method adjustBbox [line 677]

Bbox adjustBbox( Bbox $oldBbox, [msExtent $maxExtent = NULL])

Adjusts Bbox using a maximum extent



Tags:

access:  private


Parameters:

Bbox   $oldBbox  
msExtent   $maxExtent  

[ Top ]

method adjustScale [line 655]

double adjustScale( double $scale)

Adjusts scale using min/max set in configuration



Tags:

access:  private


Parameters:

double   $scale  

[ Top ]

method doBboxAdjusting [line 766]

void doBboxAdjusting( [msExtent $maxExtent = NULL])

Adjusts Bbox



Tags:

access:  private


Parameters:

msExtent   $maxExtent  

[ Top ]

method doLocation [line 748]

void doLocation( Bbox $bbox, double $scale)

Applies location changes to MapServer



Tags:

access:  private


Parameters:

Bbox   $bbox  
double   $scale  

[ Top ]

method getInit [line 854]

void getInit( )



Tags:

access:  public
see:  InitProvider::getInit()


[ Top ]

method getLocationResult [line 789]

LocationResult getLocationResult( )

Prepares result that will be sent to client



Tags:

access:  private


[ Top ]

method getScaleFromBbox [line 641]

double getScaleFromBbox( Bbox $bbox)

Computes scale from a Bbox using MapServer



Tags:

access:  private


Parameters:

Bbox   $bbox  

[ Top ]

method getScales [line 629]

array getScales( )



Tags:

access:  public


[ Top ]

method handleCorePlugin [line 803]

void handleCorePlugin( mixed $requ)



Tags:

access:  public
see:  CoreProvider::handleCorePlugin()


Overridden in child classes as:

ServerProjectLocation::handleCorePlugin()

[ Top ]

method initScales [line 609]

void initScales( )

Initializes scales from location.ini



Tags:

access:  private


[ Top ]


Documentation generated on Wed, 6 Apr 2005 12:06:58 +0200 by phpDocumentor 1.3.0RC3