Ticket #25: window.html.patch
| File window.html.patch, 1.3 kB (added by pgiraud, 4 years ago) |
|---|
-
window.html
69 69 ['EU', 'Europe', new OpenLayers.Bounds(-23.078125, 26.2578125, 56.0234375, 78.9921875)], 70 70 ['AS', 'Asia', new OpenLayers.Bounds(15.59375, -21.90625, 173.796875, 83.5625)]] 71 71 }); 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 82 73 var window = new Ext.Window({ 83 74 title: 'Shortcuts', 84 75 width: 200, … … 98 89 } 99 90 }] 100 91 }); 101 window.setPagePosition(20, 20);92 window.setPagePosition(20, 40); 102 93 103 94 window.show(); 104 95 }); 105 96 </script> 106 97 </head> 107 98 <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> 108 104 This example shows how to use the MapComponent class to integrate a OL map into a window layout. 109 105 <div id="olmap"> 110 106 </div>
