|
ka-Map | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--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( szID )
Method Detail |
void activateTool( toolObj )
void addMap( oMap )
void addMapLayer( l )
Object addObjectGeo( canvas, lon, lat, obj )
Object addObjectPix( canvas, x, y, obj )
void appendColumn(layer)
void appendRow(layer)
Object cancelEvent(e)
Object centerObject(obj)
Object checkMaxExtents()
void checkWrap()
Object createDrawingCanvas( idx )
Object createImage( top, left, obj )
Object createLayers()
Object createMapLayer( id )
void deactivateTool( toolObj )
Object deregisterForEvent( eventID, obj, func )
Object drawGroup(group)
void geoToPix( gX, gY )
Object getCenter()
Object getCurrentMap()
Object getCurrentScale()
void getGeoExtents()
Object getMaps()
Object getMetaExtents()
Object getObject(obj)
Object getObjectHeight(obj)
Object getObjectWidth(obj)
Object getRawObject(obj)
void hideLayers()
Object initialize()
Object initializeCallback( szInit )
void initializeLayers(nFactor)
void moveBy( x, y )
void paintLayer(l)
void pixToGeo( pX, pY )
Object registerEventID( eventID )
Object registerForEvent( eventID, obj, func )
void registerTool( toolObj )
void reloadImage(id)
Object removeAllObjects(canvas)
void removeColumn(layer)
Object removeDrawingCanvas( canvas )
Object removeMapLayer( id )
Object removeObject( obj )
void removeRow(layer)
void resetImage(id)
void resetTile( id, bForce )
Object resize( )
Object seekLayer(doc, name)
Object selectMap( name )
Object setBackgroundColor( color )
void setCursor(cursor)
void setLayerOpacity( name, opacity )
void setLayerQueryable( name, bQueryable )
void setLayerVisibility( name, bVisible )
Object setMapLayers( )
Object shiftObject( x, y, obj )
void showLayers()
void slide(pos)
void slideBy(x,y)
Object triggerEvent( eventID )
void updateObjects()
void wrapB2T()
void wrapL2R()
void wrapR2L()
void wrapT2B()
void zoomByFactor( nZoomFactor )
void zoomIn()
void zoomOut()
void zoomTo( cgX, cgY )
void zoomToExtents(minx, miny, maxx, maxy)
void zoomToScale( scale )
|
ka-Map | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |