Fixing typos.
This commit is contained in:
@@ -12,7 +12,7 @@ ol.control.CONTROL_MAP = {};
|
|||||||
* @param {Function} Control
|
* @param {Function} Control
|
||||||
*/
|
*/
|
||||||
ol.control.addControl = function(name, Control) {
|
ol.control.addControl = function(name, Control) {
|
||||||
ol.control.CONTROL_MAP = Control;
|
ol.control.CONTROL_MAP[name] = Control;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -48,4 +48,4 @@ ol.control.Navigation.prototype.moveMap = function(evt) {
|
|||||||
this.getMap().moveByPx(evt.dx, evt.dy);
|
this.getMap().moveByPx(evt.dx, evt.dy);
|
||||||
};
|
};
|
||||||
|
|
||||||
ol.control.addControl('navigation', ol.Control.Navigation);
|
ol.control.addControl('navigation', ol.control.Navigation);
|
||||||
Reference in New Issue
Block a user