Version : 0.3  
Last Change : 2003-10-28 
File Name : WMSquick.js
  
 quickWMS 
  A descendent of mapWMS that accepts mouse events for zoom, select and query. 
 
 It implements the following new methods : 
	 Methods
		
			-  initialize = function()
 
			Initialize all mouse and tools links. (Attention) <------ Note
			   This function is called automatically in the writeDOM method of the mapWMS. I think that there still a bug here for NS4.7 but for the moment this function will be considered as private (not to be call by your code). Comments are welcomed (or shall I say, requested)
			
  			
			 -  setSelectionXY = function(x1, y1, x2, y2)
 
			Sets the selection box in the specified geographical box where (x1, y1) define the bottom-left point and (x2,y2) define the top-right point.
			
  			
			 -  setSelection = function (x1, y1, x2, y2)
 
			Sets the selection box in the specified pixel based box where (x1, y1) define the top-left point and (x2,y2) define the bottom-right point.
			
  			
			 -  back = function()
 
			Goes back to the previously valid geographical box.
			
  			
			 -  home = function()
 
			Goes to the initial geographical box.
			
  
			 -  forward = function()
 
			Goes forward to the valid geographical box.
			
  			
		  
	 Properties
				
		-  slBBox
			
  Array defining the current selected geographical bounding box where (BBox[0], BBox[1]) define the bottom-left point and (BBox[2], BBox[3]) define the top-right point. You can use this property or use the OnSelect events.
		  
	 Events
		
			-  onMouseMove = function (wmsMap, x, y)
  
			Event fired when the mouse moves over the map area. It returns the referening object and the 
			x and y as geographical coordinates
			
  			
			 -  onMouseClick = function (wmsMap, x, y) -  not implemented 
 
			Event fired when the mouse clicks over the map area. It returns the referening object and the 
			x and y as geographical coordinates			
			
  
			 -  onMouseUp = function (wmsMap, x, y)
 
			Event fired when the mouse up over the map area. It returns the referening object and the 
			x and y as geographical coordinates						
			
  
			 -  onMouseDown = = function (wmsMap, x, y)
 
			Event fired when the mouse down over the map area. It returns the referening object and the 
			x and y as geographical coordinates									
			
  
			 -  onSelecting = function (wmsLayer, x1, y1, x2, y2)
 
			Event fired when the user is selecting a given area with the specified geographical box where (x1, y1) 
			define the bottom-left point and (x2,y2) define the top-right point.
			If this events returns false the selection value is not accepted.									
			
  
			 -  onSelection = function (wmsLayer, x1, y1, x2, y2)
 
			Event fired when the user has finished selecting a given area with the specified geographical box where (x1, y1) 
			define the bottom-left point and (x2,y2) define the top-right point.			
			
  			
		  
		 Examples
		
			-  multiple layer request example [view]
			
 -  multiple layer request with mouse events and toolbar example with layers from DEMIS [view]
			
 -  multiple layer request with error handling events [view]
		
  	
	 Change Log 
		
	 
 
 
 |