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

Class: SMap_View_Inset

Source Location: /SMap/View.php

Class SMap_View_Inset

Class Overview

A view intended to be inset in a layer

The purpose of this view is to appear as an object inside of a layer (which is inside another view).

Located in /SMap/View.php [line 492]

SMap_View
   |
   --SMap_View_Inset

Properties

Methods

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

Inherited From SMap_View

SMap_View::$bkCol
SMap_View::$bounds
SMap_View::$id
SMap_View::$layers
SMap_View::$map
SMap_View::$regLayers
SMap_View::$scale
SMap_View::$tiles
SMap_View::$zoom

Inherited From SMap_View

SMap_View::__construct()
Give this view an identity
SMap_View::addLayer()
Adds a layer.
SMap_View::createLayer()
Creates a view
SMap_View::getAdjViewBounds()
Adjust the view coords if we are in an image
SMap_View::getName()
Return the name of this view
SMap_View::getTiles()
Creates and returns the set of tiles that represent this view
SMap_View::getXHTML()
Handle getting the XHTML
SMap_View::sendObj()
Send an object to another tile
SMap_View::__get()
Access useful vars read-only

[ Top ]
Property Summary
object   $tile   Tile to draw the view onto

[ Top ]
Method Summary
SMap_View_Inset   __construct()   Construct & adjust the view bounds
object Drawn   fectchInset()   Get the inset image
string   getXHTML()  

[ Top ]
Properties
object   $tile = null [line 503]

Tile to draw the view onto

If the tile is null, then no drawing is done, and no inset is created. This is probably because we can't zoom out far enough to create a useful inset.

API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 512]

  SMap_View_Inset __construct( SMap $map, integer $viewId, SMap_Tile $tile  )

Construct & adjust the view bounds

Parameters:
object   $map: 
integer   $viewId: 
object Tile   $tile:  to draw the inset onto

API Tags:
Access:  public


Redefinition of:
SMap_View::__construct()
Give this view an identity

[ Top ]
fectchInset  [line 557]

  object Drawn fectchInset( SMap_Tile $tile, boolean $isImg  )

Get the inset image

Parameters:
object Tile   $tile:  to draw inset onto
boolean   $isImg:  Are we drawing on an image tile?

API Tags:
Return:  image object
Access:  public


[ Top ]
getXHTML  [line 576]

  string getXHTML( array $tiles  )

Parameters:
array   $tiles:  Tiles to render

API Tags:
Return:  Rendered XHTML


Redefinition of:
SMap_View::getXHTML()
Handle getting the XHTML

[ Top ]

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