event -> Event
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1142 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -92,7 +92,7 @@ OpenLayers.Control.LayerTabs.prototype =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {event} evt
|
* @param {Event} evt
|
||||||
*/
|
*/
|
||||||
singleClick: function(evt) {
|
singleClick: function(evt) {
|
||||||
var div = Event.element(evt);
|
var div = Event.element(evt);
|
||||||
@@ -122,7 +122,7 @@ OpenLayers.Control.LayerTabs.prototype =
|
|||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
*
|
*
|
||||||
* @param {event} evt
|
* @param {Event} evt
|
||||||
*/
|
*/
|
||||||
ignoreEvent: function(evt) {
|
ignoreEvent: function(evt) {
|
||||||
Event.stop(evt);
|
Event.stop(evt);
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ OpenLayers.Control.PanZoom.prototype =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {event} evt
|
* @param {Event} evt
|
||||||
*
|
*
|
||||||
* @type Boolean
|
* @type Boolean
|
||||||
*/
|
*/
|
||||||
@@ -108,7 +108,7 @@ OpenLayers.Control.PanZoom.prototype =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {event} evt
|
* @param {Event} evt
|
||||||
*/
|
*/
|
||||||
buttonDown: function (evt) {
|
buttonDown: function (evt) {
|
||||||
if (!Event.isLeftClick(evt)) return;
|
if (!Event.isLeftClick(evt)) return;
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ OpenLayers.Events.prototype = {
|
|||||||
*
|
*
|
||||||
* @private
|
* @private
|
||||||
*
|
*
|
||||||
* @param {event} evt
|
* @param {Event} evt
|
||||||
*/
|
*/
|
||||||
handleBrowserEvent: function (evt) {
|
handleBrowserEvent: function (evt) {
|
||||||
evt.xy = this.getMousePosition(evt);
|
evt.xy = this.getMousePosition(evt);
|
||||||
@@ -194,7 +194,7 @@ OpenLayers.Events.prototype = {
|
|||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
*
|
*
|
||||||
* @param {event} evt
|
* @param {Event} evt
|
||||||
*
|
*
|
||||||
* @returns The current xy coordinate of the mouse, adjusted for offsets
|
* @returns The current xy coordinate of the mouse, adjusted for offsets
|
||||||
* @type OpenLayers.Pixel
|
* @type OpenLayers.Pixel
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ OpenLayers.Layer.Google.prototype = Object.extend( new OpenLayers.Layer(), {
|
|||||||
*
|
*
|
||||||
* @private
|
* @private
|
||||||
*
|
*
|
||||||
* @param {event} e
|
* @param {Event} e
|
||||||
*/
|
*/
|
||||||
catchPanZoom: function(e) {
|
catchPanZoom: function(e) {
|
||||||
|
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ OpenLayers.Layer.VirtualEarth.prototype =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {event} e
|
* @param {Event} e
|
||||||
*/
|
*/
|
||||||
catchPanZoom: function(e) {
|
catchPanZoom: function(e) {
|
||||||
|
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ OpenLayers.Layer.Yahoo.prototype = Object.extend( new OpenLayers.Layer(), {
|
|||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
*
|
*
|
||||||
* @param {event} e
|
* @param {Event} e
|
||||||
*/
|
*/
|
||||||
catchPanZoom: function(e) {
|
catchPanZoom: function(e) {
|
||||||
this.dragging = false;
|
this.dragging = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user