1 Ext.Loader.setConfig({enabled: true});
2 Ext.Loader.setPath('Ext.ux', '../ux');
8 Ext.onReady(function(){
11 Ext.get('show-btn').on('click', function() {
12 // create the window on the first click and reuse on subsequent clicks
15 mapwin = Ext.create('Ext.Window', {
28 mapConfOpts: ['enableScrollWheelZoom','enableDoubleClickZoom','enableDragging'],
29 mapControls: ['GSmallMapControl','GMapTypeControl','NonExistantControl'],
31 geoCodeAddr: '4 Yawkey Way, Boston, MA, 02215-3409, USA',
32 marker: {title: 'Fenway Park'}
37 marker: {title: 'Boston Museum of Fine Arts'},
40 Ext.Msg.alert({title: 'Its fine', text: 'and its art.'});
46 marker: {title: 'Northeastern University'}