ka-Map

Class kaMap

Object
   |
   +--kaMap

class kaMap

Defined in kaMap.js


Constructor Summary
kaMap ( szID )
            kaMap main class
 
Method Summary
 void activateTool( toolObj )
          
 void addMap( oMap )
           kaMap.addMap( oMap )
 void addMapLayer( l )
          
 Object addObjectGeo( canvas, lon, lat, obj )
           kaMap.addObjectGeo( canvas, lon, lat, obj )
 Object addObjectPix( canvas, x, y, obj )
           kaMap.addObjectPix( canvas, x, y, obj )
 void appendColumn(layer)
           internal function to append a column of images to each of the layers
 void appendRow(layer)
           internal function to append a row of images to each of the layers
 Object cancelEvent(e)
          
 Object centerObject(obj)
           kaMap.centerObject( obj )
 Object checkMaxExtents()
           kaMap.checkMaxExtents()
 void checkWrap()
           internal function to check if images need to be wrapped
 Object createDrawingCanvas( idx )
           kaMap.createDrawingCanvas( idx )
 Object createImage( top, left, obj )
           internal function to create images for map tiles
 Object createLayers()
           hidden method of kaMap to initialize all the various layers needed by kaMap to draw and move the map image.
 Object createMapLayer( id )
          
 void deactivateTool( toolObj )
          
 Object deregisterForEvent( eventID, obj, func )
          
 Object drawGroup(group)
          
 void geoToPix( gX, gY )
           kaMap.geoToPix( gX, gY )
 Object getCenter()
          
 Object getCurrentMap()
           kaMap.getCurrentMap()
 Object getCurrentScale()
          
 void getGeoExtents()
           kaMap.getGeoExtents()
 Object getMaps()
           kaMap.getMaps()
 Object getMetaExtents()
           kaMap.getMetaExtents()
 Object getObject(obj)
          
 Object getObjectHeight(obj)
          
 Object getObjectWidth(obj)
          
 Object getRawObject(obj)
          
 void hideLayers()
          
 Object initialize()
           kaMap.initialize( [szMap] )
 Object initializeCallback( szInit )
           hidden function on callback from init.php
 void initializeLayers(nFactor)
           internal function update the layer URLs based on their current positions
 void moveBy( x, y )
           move the map by a certain amount
 void paintLayer(l)
           internal function adedd by cappu use to paint a layer calculating tile position for current exten and scale and calling the layer.seTile *************************************
 void pixToGeo( pX, pY )
           kaMap.pixToGeo( pX, pY [, bAdjust] )
 Object registerEventID( eventID )
          
 Object registerForEvent( eventID, obj, func )
          
 void registerTool( toolObj )
          
 void reloadImage(id)
          
 Object removeAllObjects(canvas)
           kaMap.removeAllObjects( canvas )
 void removeColumn(layer)
           internal function to remove a column of images to each of the layers
 Object removeDrawingCanvas( canvas )
          
 Object removeMapLayer( id )
          
 Object removeObject( obj )
           kaMap.removeObject( obj )
 void removeRow(layer)
           internal function to remove a row of images to each of the layers
 void resetImage(id)
          
 void resetTile( id, bForce )
          
 Object resize( )
           kaMap.resize()
 Object seekLayer(doc, name)
          
 Object selectMap( name )
           kaMap.selectMap( name )
 Object setBackgroundColor( color )
           kaMap.setBackgroundColor( color )
 void setCursor(cursor)
          
 void setLayerOpacity( name, opacity )
          
 void setLayerQueryable( name, bQueryable )
          
 void setLayerVisibility( name, bVisible )
          
 Object setMapLayers( )
          
 Object shiftObject( x, y, obj )
           kaMap.shiftObject( x, y, obj )
 void showLayers()
          
 void slide(pos)
           handle individual movement within a slide
 void slideBy(x,y)
           slide the map by a certain amount
 Object triggerEvent( eventID )
          
 void updateObjects()
          
 void wrapB2T()
           internal function to reuse extra images take bottom image from each column and put it at the top
 void wrapL2R()
           internal function to reuse extra image take first image from each row and put it at the end
 void wrapR2L()
           internal function to reuse extra images take last image from each row and put it at the beginning
 void wrapT2B()
           internal function to reuse extra images take top image from each column and put it at the bottom
 void zoomByFactor( nZoomFactor )
          
 void zoomIn()
          
 void zoomOut()
          
 void zoomTo( cgX, cgY )
           kaMap.zoomTo( lon, lat [, scale] )
 void zoomToExtents(minx, miny, maxx, maxy)
           kaMap.zoomToExtents( minx, miny, maxx, maxy )
 void zoomToScale( scale )
          

Constructor Detail

kaMap

kaMap( szID )

Method Detail

activateTool

void activateTool( toolObj )

addMap

void addMap( oMap )

addMapLayer

void addMapLayer( l )

addObjectGeo

Object addObjectGeo( canvas, lon, lat, obj )

addObjectPix

Object addObjectPix( canvas, x, y, obj )

appendColumn

void appendColumn(layer)

appendRow

void appendRow(layer)

cancelEvent

Object cancelEvent(e)

centerObject

Object centerObject(obj)

checkMaxExtents

Object checkMaxExtents()

checkWrap

void checkWrap()

createDrawingCanvas

Object createDrawingCanvas( idx )

createImage

Object createImage( top, left, obj )

createLayers

Object createLayers()

createMapLayer

Object createMapLayer( id )

deactivateTool

void deactivateTool( toolObj )

deregisterForEvent

Object deregisterForEvent( eventID, obj, func )

drawGroup

Object drawGroup(group)

geoToPix

void geoToPix( gX, gY )

getCenter

Object getCenter()

getCurrentMap

Object getCurrentMap()

getCurrentScale

Object getCurrentScale()

getGeoExtents

void getGeoExtents()

getMaps

Object getMaps()

getMetaExtents

Object getMetaExtents()

getObject

Object getObject(obj)

getObjectHeight

Object getObjectHeight(obj)

getObjectWidth

Object getObjectWidth(obj)

getRawObject

Object getRawObject(obj)

hideLayers

void hideLayers()

initialize

Object initialize()

initializeCallback

Object initializeCallback( szInit )

initializeLayers

void initializeLayers(nFactor)

moveBy

void moveBy( x, y )

paintLayer

void paintLayer(l)

pixToGeo

void pixToGeo( pX, pY )

registerEventID

Object registerEventID( eventID )

registerForEvent

Object registerForEvent( eventID, obj, func )

registerTool

void registerTool( toolObj )

reloadImage

void reloadImage(id)

removeAllObjects

Object removeAllObjects(canvas)

removeColumn

void removeColumn(layer)

removeDrawingCanvas

Object removeDrawingCanvas( canvas )

removeMapLayer

Object removeMapLayer( id )

removeObject

Object removeObject( obj )

removeRow

void removeRow(layer)

resetImage

void resetImage(id)

resetTile

void resetTile( id, bForce )

resize

Object resize( )

seekLayer

Object seekLayer(doc, name)

selectMap

Object selectMap( name )

setBackgroundColor

Object setBackgroundColor( color )

setCursor

void setCursor(cursor)

setLayerOpacity

void setLayerOpacity( name, opacity )

setLayerQueryable

void setLayerQueryable( name, bQueryable )

setLayerVisibility

void setLayerVisibility( name, bVisible )

setMapLayers

Object setMapLayers( )

shiftObject

Object shiftObject( x, y, obj )

showLayers

void showLayers()

slide

void slide(pos)

slideBy

void slideBy(x,y)

triggerEvent

Object triggerEvent( eventID )

updateObjects

void updateObjects()

wrapB2T

void wrapB2T()

wrapL2R

void wrapL2R()

wrapR2L

void wrapR2L()

wrapT2B

void wrapT2B()

zoomByFactor

void zoomByFactor( nZoomFactor )

zoomIn

void zoomIn()

zoomOut

void zoomOut()

zoomTo

void zoomTo( cgX, cgY )

zoomToExtents

void zoomToExtents(minx, miny, maxx, maxy)

zoomToScale

void zoomToScale( scale )

ka-Map

Documentation generated by JSDoc on Mon Feb 5 08:25:15 2007