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

Class: LocationCalculator

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

Class Overview


Base abstract class for classes used to calculate bbox's and scales


Author(s):

Variables

Methods


Child classes:


Class Details

[line 41]
Base abstract class for classes used to calculate bbox's and scales

There is a one to one mapping between LocationRequests and these LocationCalculator's.




Tags:

abstract:  


[ Top ]


Class Variables

$locationPlugin =

[line 51]



Tags:

access:  public

Type:   ServerLocation


[ Top ]

$log =

[line 46]



Tags:

access:  private

Type:   Logger


[ Top ]

$requ =

[line 56]



Tags:

access:  public

Type:   LocationRequest


[ Top ]



Class Methods


constructor __construct [line 63]

LocationCalculator __construct( ServerLocation $locationPlugin, LocationRequest $requ)

Constructor



Tags:

access:  public


Overridden in child classes as:

BboxLocationCalculator::__construct()
Constructor
PanLocationCalculator::__construct()
Constructor
ZoomPointLocationCalculator::__construct()
Constructor
RecenterLocationCalculator::__construct()
Constructor

Parameters:

ServerLocation   $locationPlugin  
LocationRequest   $requ  

[ Top ]

method getBbox [line 73]


method getScale [line 79]

double getScale( )

Computes new scale



Tags:

abstract:  


Overridden in child classes as:

BboxLocationCalculator::getScale()
PanLocationCalculator::getScale()
ZoomPointLocationCalculator::getScale()
RecenterLocationCalculator::getScale()

[ Top ]


Documentation generated on Thu, 04 Sep 2008 11:39:51 +0200 by phpDocumentor 1.3.0RC3