Changeset 3366 for contribs

Show
Ignore:
Timestamp:
02/11/10 15:05:53 (2 years ago)
Author:
alex
Message:

MapFishAPI: added tooltips for some toolbar items

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • contribs/mapfish-api/trunk/MapFishApi/js/mapfish_api.js

    r3357 r3366  
    512512            map: this.map, 
    513513            control: new MapFish.API.ZoomToExtent(config.controls), 
    514             iconCls: 'zoomfull' 
     514            iconCls: 'zoomfull', 
    515515            //toggleGroup: 'navigation', 
    516516            //allowDepress: false, 
    517             //text: "max extent" 
     517            tooltip: OpenLayers.i18n("max extent") 
    518518        }, config.actions)); 
    519519        this.tools.push(action); 
     
    526526            pressed: true, 
    527527            id: 'navigationButton', 
    528             //text: 'nav', 
     528            tooltip: OpenLayers.i18n('pan'), 
    529529            iconCls: 'pan' 
    530530        }, config.actions)); 
     
    538538            toggleGroup: config.toggleGroup || 'navigation', 
    539539            allowDepress: false, 
    540             //text: 'zoom box', 
     540            tooltip: OpenLayers.i18n('zoom box'), 
    541541            iconCls: 'zoomin' 
    542542        }, config.actions)); 
     
    550550            toggleGroup: config.toggleGroup || 'navigation', 
    551551            allowDepress: false, 
    552             //text: 'zoom box', 
     552            tooltip: OpenLayers.i18n('zoom out'), 
    553553            iconCls: 'zoomout' 
    554554        }, config.actions)); 
     
    563563            toggleGroup: config.toggleGroup || 'navigation', 
    564564            allowDepress: false, 
    565             //text: 'length', 
     565            tooltip: OpenLayers.i18n('length measure'), 
    566566            iconCls: 'measureLength' 
    567567        }, config.actions)); 
     
    576576            toggleGroup: config.toggleGroup || 'navigation', 
    577577            allowDepress: false, 
    578             //text: 'area', 
     578            tooltip: OpenLayers.i18n('area measure'), 
    579579            iconCls: 'measureArea' 
    580580        }, config.actions));