Ticket #25: window.html.patch

File window.html.patch, 1.3 kB (added by pgiraud, 4 years ago)
  • window.html

     
    6969                    ['EU', 'Europe', new OpenLayers.Bounds(-23.078125, 26.2578125, 56.0234375, 78.9921875)], 
    7070                    ['AS', 'Asia', new OpenLayers.Bounds(15.59375, -21.90625, 173.796875, 83.5625)]] 
    7171        }); 
    72         /* 
    73         var shortcuts = new mapfish.widgets.Shortcuts({ 
    74             map: map, 
    75             store: store, 
    76             templates: { 
    77                 header: new Ext.Template("Choose a continent in the list"), 
    78                 footer: new Ext.Template("The map will automatically center to this location") 
    79             } 
    80         }); 
    81         */ 
     72         
    8273        var window = new Ext.Window({ 
    8374            title: 'Shortcuts', 
    8475            width: 200, 
     
    9889                } 
    9990            }] 
    10091        }); 
    101         window.setPagePosition(20, 20); 
     92        window.setPagePosition(20, 40); 
    10293 
    10394        window.show(); 
    10495    }); 
    10596        </script> 
    10697</head> 
    10798<body> 
     99  <!-- 
     100      body element must not start with text to prevent IE bug 
     101      http://extjs.com/forum/showthread.php?t=7912&highlight=createRange 
     102  --> 
     103  <h1>MapFish example</h1> 
    108104  This example shows how to use the MapComponent class to integrate a OL map into a window layout. 
    109105  <div id="olmap"> 
    110106  </div>