Mercurial > lada > lada-client
comparison app/view/widget/MapToolbar.js @ 635:def8def373e8
Added a toolbar to the OpenLayers map panel.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 16 Mar 2015 17:31:41 +0100 |
parents | |
children | 777bf66dbb11 |
comparison
equal
deleted
inserted
replaced
634:291ac2e2bcf5 | 635:def8def373e8 |
---|---|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz | |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU GPL (v>=3) | |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out | |
6 * the documentation coming with IMIS-Labordaten-Application for details. | |
7 */ | |
8 | |
9 Ext.define('Lada.view.widget.MapToolbar', { | |
10 extend: 'Ext.toolbar.Toolbar', | |
11 alias: 'widget.maptoolbar', | |
12 | |
13 initComponent: function() { | |
14 this.items = [{ | |
15 icon: 'resources/img/list-add.png', | |
16 tooltip: 'Neuen Ort hinzufügen', | |
17 action: 'add' | |
18 }]; | |
19 this.callParent(arguments); | |
20 } | |
21 }); |