phpDocumentor SMap
Layers
[ class tree: SMap ] [ index: SMap ] [ all elements ]

Class: SMap_Layer_Inset

Source Location: /SMap/Layer.php

Class SMap_Layer_Inset

Class Overview

A small inset microcosm of our view

Located in /SMap/Layer.php [line 1868]

SMap_Layer
   |
   --SMap_Layer_Inset

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From SMap_Layer

SMap_Layer::$id
SMap_Layer::$map

Inherited From SMap_Layer

SMap_Layer::__construct()
Construct the layer
SMap_Layer::cacheStatus()
How cachable is this layer?
SMap_Layer::getAdjViewBounds()
Adjust the view coords if we are in an image
SMap_Layer::getID()
Returns the ID of this layer
SMap_Layer::getImageFmt()
Recommended format for this layer
SMap_Layer::getImgObjs()
Composite this layer onto the tile (in a raster way)
SMap_Layer::getMap()
Return the map that contains this layer
SMap_Layer::getMapObjs()
Composite this layer onto the tile
SMap_Layer::hasCachedRects()
Might have cached rects in the DB
SMap_Layer::isValidZoom()
Is this layer zoomed to a useful resolution?
SMap_Layer::pxOffBound()
Get the bound at a pixel offset from a bound.

[ Top ]
Property Summary
mixed   $inset   Inset view

[ Top ]
Method Summary
SMap_Layer_Inset   __construct()   Create an inset view at construction
array   getImgObjs()   Create objects needed by the tile
object The   getInset()   Get the inset view
array   getMapObjs()   Create objects needed by the tile

[ Top ]
Properties
mixed   $inset [line 1875]

Inset view

API Tags:
Usedby:  SMap_Layer_Inset::getInset()
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 1884]

  SMap_Layer_Inset __construct( SMap $map, integer $id, [integer $vid = 99999]  )

Create an inset view at construction

Parameters:
object SMap   $map: 
integer   $id:  Layer ID
integer   $vid:  Inset view ID (Default: 99999)


Redefinition of:
SMap_Layer::__construct()
Construct the layer

[ Top ]
getImgObjs  [line 1923]

  array getImgObjs( SMap_View $view, SMap_Tile $tile  )

Create objects needed by the tile

Setup the imagemap for panning. Setup tile to transmit needed info.

Parameters:
object   $view: 
object   $tile: 

API Tags:
Access:  public


Redefinition of:
SMap_Layer::getImgObjs()
Composite this layer onto the tile (in a raster way)

[ Top ]
getInset  [line 1897]

  object The getInset( )

Get the inset view

Use this to get the view in order to apply layers to it.


API Tags:
Return:  inset view
Access:  public
Uses:  SMap_Layer_Inset::$inset


[ Top ]
getMapObjs  [line 1910]

  array getMapObjs( SMap_View $view, SMap_Tile $tile  )

Create objects needed by the tile

Setup the imagemap for panning. Setup tile to transmit needed info.

Parameters:
object   $view: 
object   $tile: 

API Tags:
Access:  public


Redefinition of:
SMap_Layer::getMapObjs()
Composite this layer onto the tile

[ Top ]

Documentation generated on Mon, 09 Apr 2007 18:53:18 -0500 by phpDocumentor 1.3.0