vendredi 4 avril 2014

How to add map listeners onto map page

How to I add a map listener to my first map page? I saw many examples which create a map and put it into a page, but here in my code, the map itself is a page. So I do not know how to add map listeners in this way.



Ext.define('myapp.view.Main', { extend: 'Ext.tab.Panel', xtype: 'main', fullscreen: true, requires: [ 'Ext.TitleBar', 'Ext.Video', 'Ext.Map', 'Ext.Panel', 'Ext.tab.*', 'Ext.*' ], config: { tabBarPosition: 'bottom', items: [ { title: 'WebTrack', iconCls:'maps', xtype: 'map', useCurrentLocation: true, store: 'my.store.appleStore', }Can someone help please?

Thanks very much




Aucun commentaire:

Enregistrer un commentaire