3 * Copyright(c) 2006-2010 Sencha Inc.
5 * http://www.sencha.com/license
8 Ext.onReady(function(){
11 var button = Ext.get('show-btn');
13 button.on('click', function(){
14 // create the window on the first click and reuse on subsequent clicks
17 mapwin = new Ext.Window({
29 mapConfOpts: ['enableScrollWheelZoom','enableDoubleClickZoom','enableDragging'],
30 mapControls: ['GSmallMapControl','GMapTypeControl','NonExistantControl'],
32 geoCodeAddr: '4 Yawkey Way, Boston, MA, 02215-3409, USA',
33 marker: {title: 'Fenway Park'}
38 marker: {title: 'Boston Museum of Fine Arts'},
41 Ext.Msg.alert('Its fine', 'and its art.');
47 marker: {title: 'Northeastern University'}