Class _map
Object
   |
   +--_map
   
   - class 
   _map
   
 
   
   
   Defined in kaMap.js
   
   
   
   
| 
Constructor Summary | 
   
      
	 
	    _map 
	 
	 (o)
      
       
                 
      _map
       | 
 
| 
Method Summary | 
   
      
	 
	     void
	 
       | 
      
	 
	    
	       addLayer( layer )
	 
	  
	           
	 
       | 
   
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       getAllLayers()
	 
	  
	           
	 
       | 
   
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       getAllQueryableLayers()
	 
	  
	           
	 
       | 
   
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       getLayer( name )
	 
	  
	           
	 
       | 
   
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       getLayers()
	 
	  
	           
	 
       | 
   
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       getQueryableLayers()
	 
	  
	           
	 
       | 
   
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       getScales()
	 
	  
	           
	 
       | 
   
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       removeLayer( l )
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       setBackgroundColor( szBgColor )
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       setCurrentExtents( minx, miny, maxx, maxy )
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       setDefaultExtents( minx, miny, maxx, maxy )
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       setLayerOpacity( name, opacity )
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       setLayerQueryable( name, bQueryable )
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       setLayerVisibility( name, bVisible )
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       setMaxExtents( minx, miny, maxx, maxy )
	 
	  
	           
	 
       | 
   
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       zoomIn()
	 
	  
	           
	 
       | 
   
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       zoomOut()
	 
	  
	           
	 
       | 
   
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       zoomToScale( scale )
	 
	  
	           
	 
       | 
   
    
_map
_map(o)
   _map
 internal class used to store map objects coming from the init script
 szName - string, the layer name (or group name, in this case ;))
 szTitle - string, the human-readable title of the map
 nCurrentScale - integer, the current scale as an index into aszScales;
 aszScales - array, an array of scale values for zooming.  The first scale is
             assumed to be the default scale of the map
 aszLayers - array, an array of layer names and statuses.  The array is indexed by
             the layer name and the value is true or false for the status.
***************************************************************************
   
   
   addLayer
   void addLayer( layer )
   
   
   
   
   
   
   
   
   
   getAllLayers
   Object getAllLayers()
   
   
   
   
   
   
   
   
   
   getAllQueryableLayers
   Object getAllQueryableLayers()
   
   
   
   
   
   
   
   
   
   getLayer
   Object getLayer( name )
   
   
   
   
   
   
   
   
   
   getLayers
   Object getLayers()
   
   
   
   
   
   
   
   
   
   getQueryableLayers
   Object getQueryableLayers()
   
   
   
   
   
   
   
   
   
   getScales
   Object getScales()
   
   
   
   
   
   
   
   
   
   removeLayer
   Object removeLayer( l )
   
   
   
   
   
   
   
   
   
   setBackgroundColor
   void setBackgroundColor( szBgColor )
   
   
   
   
   
   
   
   
   
   setCurrentExtents
   void setCurrentExtents( minx, miny, maxx, maxy )
   
   
   
   
   
   
   
   
   
   setDefaultExtents
   void setDefaultExtents( minx, miny, maxx, maxy )
   
   
   
   
   
   
   
   
   
   setLayerOpacity
   void setLayerOpacity( name, opacity )
   
   
   
   
   
   
   
   
   
   setLayerQueryable
   void setLayerQueryable( name, bQueryable )
   
   
   
   
   
   
   
   
   
   setLayerVisibility
   void setLayerVisibility( name, bVisible )
   
   
   
   
   
   
   
   
   
   setMaxExtents
   void setMaxExtents( minx, miny, maxx, maxy )
   
   
   
   
   
   
   
   
   
   zoomIn
   Object zoomIn()
   
   
   
   
   
   
   
   
   
   zoomOut
   Object zoomOut()
   
   
   
   
   
   
   
   
   
   zoomToScale
   Object zoomToScale( scale )
   
   
   
   
   
   
   
   
Documentation generated by 
JSDoc on Mon Feb  5 08:25:15 2007