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

Class: ZoomPointLocationCalculator

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

Class Overview

LocationCalculator
   |
   --ZoomPointLocationCalculator

Location calculator for ZoomPointLocationRequest


Variables

Methods


Inherited Variables

Inherited Methods


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 Thu, 04 Sep 2008 11:39:52 +0200 by phpDocumentor 1.3.0RC3