Mercurial > lada > lada-client
comparison app/view/panel/Map.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 | 04e380ce4d73 |
children | d21048cbdbb3 |
comparison
equal
deleted
inserted
replaced
634:291ac2e2bcf5 | 635:def8def373e8 |
---|---|
55 var keyControl = new OpenLayers.Control.KeyboardDefaults(); | 55 var keyControl = new OpenLayers.Control.KeyboardDefaults(); |
56 this.map.addControl(keyControl); | 56 this.map.addControl(keyControl); |
57 keyControl.activate(); | 57 keyControl.activate(); |
58 this.bodyStyle = {background: '#fff'}; | 58 this.bodyStyle = {background: '#fff'}; |
59 this.initData(); | 59 this.initData(); |
60 this.tbar = Ext.create('Lada.view.widget.MapToolbar'); | |
60 this.callParent(arguments); | 61 this.callParent(arguments); |
61 }, | 62 }, |
62 | 63 |
63 initData: function() { | 64 initData: function() { |
64 var me = this; | 65 var me = this; |