CorePlugins

# Class: ZoomPointLocationCalculator Source Location: /coreplugins/location/server/ServerLocation.php
### Class Overview
    LocationCalculator
       |
       --ZoomPointLocationCalculator
Location calculator for ZoomPointLocationRequest | ### Variables $log $scaleModeDiscrete | ### Methods __construct calculateOldScale getBbox getNearestScale getNextScale getPreviousScale getScale
### Inherited Variables #### Class: LocationCalculator LocationCalculator::$locationPlugin LocationCalculator::$requ | ### Inherited Methods #### Class: LocationCalculator LocationCalculator::__construct() Constructor LocationCalculator::getBbox() Computes new Bbox LocationCalculator::getScale() Computes new scale
### Class Details [line 202] Location calculator for ZoomPointLocationRequest [ Top ] ### Class Variables #### $log = [line 207] #### Tags:
access: | private
Type: | Logger
Overrides: | Array
[ Top ] #### $scaleModeDiscrete = [line 212] #### Tags:
access: | protected
Type: | boolean
[ Top ] ### Class Methods ### constructor __construct [line 219]
`ZoomPointLocationCalculator __construct( ServerLocation $locationPlugin, ZoomPointLocationRequest $requ)`
Constructor #### Tags:
access: | public
Overrides LocationCalculator::__construct() (Constructor) #### Parameters:
ServerLocation | $locationPlugin |
ZoomPointLocationRequest | $requ |
[ Top ] ### method calculateOldScale [line 314]
`double calculateOldScale( )`
Computes scale from current MapServer extent #### Tags:
access: | protected
[ Top ] ### method getBbox [line 235]
`void getBbox( )`
#### Tags:
access: | public
see: | LocationCalculator::getBbox()
Overrides LocationCalculator::getBbox() (Computes new Bbox) [ Top ] ### method getNearestScale [line 294]
`double getNearestScale( double $oldScale)`
Finds the nearest scale in the scales list #### Tags:
access: | protected
#### Parameters:
double | $oldScale |
[ Top ] ### method getNextScale [line 274]
`double getNextScale( double $oldScale)`
Finds the next scale in the scales list #### Tags:
access: | protected
#### Parameters:
double | $oldScale |
[ Top ] ### method getPreviousScale [line 254]
`double getPreviousScale( double $oldScale)`
Finds the previous scale in the scales list #### Tags:
access: | protected
#### Parameters:
double | $oldScale |
[ Top ] ### method getScale [line 327]
`void getScale( )`
#### Tags:
access: | public
see: | LocationCalculator::getScale()
Overrides LocationCalculator::getScale() (Computes new scale) [ Top ] Documentation generated on Fri, 21 Sep 2007 13:31:04 +0200 by phpDocumentor 1.3.0RC3