Move ol.KEYBOARD_PAN_DURATION const to a constructor option

This commit is contained in:
Frederic Junod
2015-04-13 14:44:46 +02:00
parent 5dfa9e0a67
commit 3b4bc0be25
3 changed files with 16 additions and 9 deletions
-6
View File
@@ -170,12 +170,6 @@ ol.IS_LEGACY_IE = goog.userAgent.IE &&
!goog.userAgent.isVersionOrHigher('9.0') && goog.userAgent.VERSION !== '';
/**
* @define {number} Keyboard pan duration.
*/
ol.KEYBOARD_PAN_DURATION = 100;
/**
* @define {number} The maximum size in pixels of atlas images. Default is
* `-1`, meaning it is not used (and `ol.WEBGL_MAX_TEXTURE_SIZE` is