Merge pull request #1753 from oterral/fix_typo

Fix option name zoomInTipLabel
This commit is contained in:
Tom Payne
2014-02-24 15:37:47 +01:00

View File

@@ -37,7 +37,7 @@ ol.control.Zoom = function(opt_options) {
var zoomOutLabel = goog.isDef(options.zoomOutLabel) ?
options.zoomOutLabel : '\u2212';
var zoomInTipLabel = goog.isDef(options.zoomTipLabel) ?
var zoomInTipLabel = goog.isDef(options.zoomInTipLabel) ?
options.zoomInTipLabel : 'Zoom in';
var zoomOutTipLabel = goog.isDef(options.zoomOutTipLabel) ?
options.zoomOutTipLabel : 'Zoom out';