[OpenLayers-Commits] r11359 - in sandbox/bartvde/sencha/openlayers/examples: . img

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Feb 23 12:04:21 EST 2011


Author: bartvde
Date: 2011-02-23 09:04:21 -0800 (Wed, 23 Feb 2011)
New Revision: 11359

Added:
   sandbox/bartvde/sencha/openlayers/examples/img/minus1.png
Modified:
   sandbox/bartvde/sencha/openlayers/examples/mobile-sencha.html
Log:
have a minus symbol for the zoomout button

Added: sandbox/bartvde/sencha/openlayers/examples/img/minus1.png
===================================================================
(Binary files differ)


Property changes on: sandbox/bartvde/sencha/openlayers/examples/img/minus1.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: sandbox/bartvde/sencha/openlayers/examples/mobile-sencha.html
===================================================================
--- sandbox/bartvde/sencha/openlayers/examples/mobile-sencha.html	2011-02-23 17:01:56 UTC (rev 11358)
+++ sandbox/bartvde/sencha/openlayers/examples/mobile-sencha.html	2011-02-23 17:04:21 UTC (rev 11359)
@@ -14,6 +14,9 @@
         <script src="mobile-sencha.js"></script>
         <script src="mobile.js"></script>
         <style>
+            img.minus {
+                -webkit-mask-image: url(img/minus1.png);
+            }
             .gx-layer-item {
                 margin-left: 10px;
             }
@@ -68,7 +71,7 @@
                             }
                         }, {
                             iconMask: true,
-                            iconCls: "add",
+                            iconCls: "minus",
                             handler: function() {
                                 map.zoomOut();
                             }



More information about the Commits mailing list