Use minus sign as zoom out label

This commit is contained in:
Éric Lemoine
2014-02-16 23:19:03 +01:00
parent 3463defd9c
commit eef32c5d5d

View File

@@ -34,7 +34,7 @@ ol.control.Zoom = function(opt_options) {
var zoomInLabel = goog.isDef(options.zoomInLabel) ? options.zoomInLabel : '+',
zoomOutLabel =
goog.isDef(options.zoomOutLabel) ? options.zoomOutLabel : '-';
goog.isDef(options.zoomOutLabel) ? options.zoomOutLabel : '\u2212';
var inElement = goog.dom.createDom(goog.dom.TagName.A, {
'href': '#zoomIn',