Ticket #497: Add_gx_mappanel,_add_titles,_some_fixes.patch

File Add_gx_mappanel,_add_titles,_some_fixes.patch, 30.0 kB (added by cmoullet, 3 years ago)
  • MapFish/client/examples/print/basic.html

     
    1515        src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1616<script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    1717 
     18<script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     19 
    1820<script type="text/javascript"> 
    1921  // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    2022  // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    6668        new Ext.BoxComponent({ // raw 
    6769          region: 'north', 
    6870          el: 'north', 
    69           height: 32 
     71          height: 32, 
     72          margins: {left: 5,top: 5} 
    7073        }), 
    7174        { 
    7275          region: 'west', 
     
    124127            region: 'center', 
    125128            title: 'Map', 
    126129            layout: 'fit', 
    127             xtype: 'mapcomponent', 
     130            xtype: 'gx_mappanel', 
    128131            map: map, 
    129132            tbar: toolbar 
    130133        }] 
     
    136139</head> 
    137140<body> 
    138141  <div id="west"></div> 
    139   <div id="north"> 
    140     <p style="font-size:14pt" align="center">MapFish printer</p> 
     142   <div id="north"> 
     143    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: print</p> 
    141144  </div> 
    142145  <div id="center"></div> 
    143146</body> 
  • MapFish/client/examples/geostat/choropleths.html

     
    1010    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1111    <script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    1212 
     13   <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     14 
    1315    <script type="text/javascript"> 
    1416      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    1517      // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    7678    </style> 
    7779  </head> 
    7880  <body> 
    79     <h1 class="page-title">Choropleths Example</h1> 
    80  
     81  <div id="north"> 
     82    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: chloropleths</p> 
     83  </div> 
    8184    <div id="content"> 
    8285      <div id="right"> 
    8386        <div id="myChoroplethDiv"></div> 
  • MapFish/client/examples/tree/tree_automatic.html

     
    6666  </head> 
    6767 
    6868  <body> 
     69    <div id="north"> 
     70       <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: automatically generated tree</p> 
     71    </div> 
    6972    <div id="right"> 
    7073      <div id="tree"></div> 
    7174    </div> 
  • MapFish/client/examples/print/simple.html

     
    1717        src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1818<script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    1919 
     20<script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     21 
    2022<script type="text/javascript"> 
    2123  // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    2224  // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    9496        new Ext.BoxComponent({ // raw 
    9597          region: 'north', 
    9698          el: 'north', 
    97           height: 32 
     99          height: 32, 
     100          margins: {left: 5,top: 5} 
    98101        }), 
    99102        { 
    100103          region: 'west', 
     
    195198            region: 'center', 
    196199            title: 'Map', 
    197200            layout: 'fit', 
    198             xtype: 'mapcomponent', 
     201            xtype: 'gx_mappanel', 
    199202            map: map, 
    200203            tbar: toolbar 
    201204        }] 
     
    208211<body> 
    209212  <div id="west"></div> 
    210213  <div id="north"> 
    211     <p style="font-size:14pt" align="center">MapFish printer</p> 
     214    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: advanced print</p> 
    212215  </div> 
    213216  <div id="center"></div> 
    214217  <div id="help"> 
  • MapFishSample/mapfishsample/public/index.html

     
    11<!DOCTYPE html> 
    22<html> 
    3   <head> 
    4     <title>MapFish Samples</title> 
    5     <link rel="stylesheet" href="base.css" type="text/css" /> 
    6   </head> 
    7   <body> 
    8     <div id="header"><a href=""><img id="header-logo" src="mapfish.png"/></a></div> 
    9     <h1 class="page-title">MapFish Samples</h1> 
    10  
    11     <div id="content"> 
    12       <h2>Demos</h2> 
    13       <a href="demos/">Demos page</a> 
    14  
    15       <h2>Examples</h2> 
    16       <ul> 
    17         <li><a href="examples/map/">Map</a></li> 
    18         <li><a href="examples/tree/">Tree</a></li> 
    19         <li><a href="examples/geostat/">GeoStat</a></li> 
    20         <li><a href="examples/shortcuts/">Shortcuts</a></li> 
    21         <li><a href="examples/editing/">Editing</a></li> 
    22         <li><a href="examples/search/">Search</a></li> 
    23         <li><a href="examples/print/">Print</a></li> 
    24         <li><a href="examples/earth/">Google Earth Plugin</a></li> 
    25         <li><a href="examples/recenter/">Recenter</a></li> 
    26       </ul> 
    27  
    28       <h2>Tests</h2> 
    29         <ul> 
    30           <li><a href="mfbase/mapfish/tests/tests-wrapper.html">MapFish tests</a></li> 
    31           <li><a href="tests/tests-wrapper.html">MapFishSample tests</a></li> 
    32       </ul> 
    33     </div> 
    34   </body> 
     3<head> 
     4    <title>MapFish Tests</title> 
     5    <link rel="stylesheet" href="base.css" type="text/css"/> 
     6</head> 
     7<body> 
     8<div id="header"><a href=""><img id="header-logo" src="mapfish.png"/></a></div> 
     9<h1 class="page-title">MapFish Tests</h1> 
     10<ul> 
     11    <li><a href="mfbase/mapfish/tests/tests-wrapper.html">MapFish tests</a></li> 
     12    <li><a href="tests/tests-wrapper.html">MapFishSample tests</a></li> 
     13</ul> 
     14</div> 
     15</body> 
    3516</html> 
    3617 
  • MapFish/client/examples/tree/tree_standalone.html

     
    8787  </head> 
    8888 
    8989  <body> 
     90    <div id="north"> 
     91       <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: standalone tree</p> 
     92    </div> 
    9093    <div id="tree"></div> 
    9194 
    9295    <div> 
  • MapFish/client/examples/map/toolbar.html

     
    1111    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1212    <script type="text/javascript" src="../../mfbase/ext/ext-all.js"></script> 
    1313 
     14     <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     15 
    1416    <script type="text/javascript"> 
    1517      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    1618      // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    99101                    new Ext.BoxComponent({ 
    100102                        region: 'north', 
    101103                        el: 'north', 
    102                         height: 60 
     104                        height: 32, 
     105                        margins: {left: 5,top: 5} 
    103106                    }), { 
    104107                        region: 'west', 
    105108                        title: 'LayerTree', 
     
    123126                        border: true, 
    124127                        margins: '5 5 0 0', 
    125128                        items: [{ 
    126                             xtype: 'mapcomponent', 
     129                            xtype: 'gx_mappanel', 
    127130                            map: map, 
    128131                            tbar: toolbar, 
    129132                            border: false 
     
    312315                toolbar.activate(); 
    313316                 
    314317                // display some text in the status bar: 
    315                 this.setStatus('Status: example app ready'); 
     318                this.setStatus('Status: information'); 
    316319            } 
    317320        }; 
    318321    }(); // end of app 
     
    327330        .clear-left { 
    328331          clear: left; 
    329332        } 
    330         #north { 
    331             // uncomment this line to insert a banner : 
    332             /*background:transparent url(images/banner.jpg) repeat-x scroll 0 0;*/ 
    333         } 
    334333     </style> 
    335334  </head> 
    336335 
    337336  <body> 
    338     <div id="north">your banner here</div> 
     337    <div id="north"> 
     338       <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: map with toolbar</p> 
     339    </div> 
    339340    <div id="mymap"></div> 
    340341  </body> 
    341342</html> 
  • MapFish/client/examples/map/multiple_maps.html

     
    99    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1010    <script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    1111 
     12    <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     13 
    1214    <script type="text/javascript"> 
    1315      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    1416      // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    7072    </script> 
    7173       
    7274    <style type="text/css"> 
    73         .map, .mapContainer, #firstMap, #secondMap { 
     75        .map, #firstMap, #secondMap { 
    7476           width: 300px; 
    7577           height: 200px; 
    7678           border: 1px solid #999; 
     
    8284        .x-panel-body { 
    8385          border: none !important; 
    8486        } 
     87        #north { 
     88           margin-top:5px; 
     89           margin-left:5px; 
     90        } 
    8591    </style> 
    8692  </head> 
    8793 
    8894  <body> 
     95    <div id="north"> 
     96       <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: multiple maps</p> 
     97    </div> 
     98    <br> 
    8999    <div id="firstMap" class="map"></div> 
    90100    <div id="firstTree" class="tree"></div> 
    91101 
  • MapFish/client/examples/map/layout_spherical_mercator.html

     
    1010    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1111    <script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    1212 
     13    <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     14 
    1315    <script type="text/javascript"> 
    1416      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    1517      // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    4648            maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 
    4749                                             20037508, 20037508.34) 
    4850        }; 
    49         map = new OpenLayers.Map('center', options); 
     51        map = new OpenLayers.Map(options); 
    5052 
    5153        // create Google Mercator layers 
    5254        var gmap = new OpenLayers.Layer.Google( 
     
    8183        map.addLayers([gmap, yahoo, yahoosat, yahoohyb, mapnik]); 
    8284                            
    8385        map.setCenter(new OpenLayers.LonLat(17, 2), 2); 
    84  
    85          
    86         var mapcomponent = new mapfish.widgets.MapComponent({map: map}); 
    87         
     86        
    8887        var viewport = new Ext.Viewport({ 
    8988            layout:'border', 
    9089            items:[ 
    9190                new Ext.BoxComponent({ // raw 
    9291                    region: 'north', 
    9392                    el: 'north', 
    94                     height: 32 
     93                    height: 32, 
     94                    margins: {left: 5,top: 5} 
    9595                }),{ 
    9696                    region: 'south', 
    9797                    contentEl: 'south', 
     
    132132                    region: 'center', 
    133133                    title: 'Map', 
    134134                    layout: 'fit', 
    135                     items: mapcomponent 
     135                    xtype: 'gx_mappanel', 
     136                    map: map 
    136137                } 
    137138             ] 
    138139        }); 
     
    157158</head> 
    158159<body> 
    159160  <div id="north"> 
    160     <p>MapFish</p> 
     161    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: usage of maps in spherical mercator</p> 
    161162  </div> 
    162163  <div id="center"> 
    163164  </div> 
    164165  <div id="south"> 
    165     <p>south - generally for informational stuff, also could be for status bar</p> 
     166    <p></p> 
    166167  </div> 
    167168 
    168169 </body> 
  • MapFish/client/examples/map/layout.html

     
    1010    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1111    <script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    1212 
     13    <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     14 
    1315    <script type="text/javascript"> 
    1416      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    1517      // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    5052                new Ext.BoxComponent({ // raw 
    5153                    region: 'north', 
    5254                    el: 'north', 
    53                     height: 32 
     55                    height: 32, 
     56                    margins: {left: 5,top: 5} 
    5457                }),{ 
    5558                    region: 'south', 
    5659                    contentEl: 'south', 
     
    103106                    region: 'center', 
    104107                    title: 'Map', 
    105108                    layout: 'fit', 
    106                     xtype: 'mapcomponent', 
     109                    xtype: 'gx_mappanel', 
    107110                    map: map 
    108111                } 
    109112             ] 
     
    114117<body> 
    115118  <div id="west"></div> 
    116119  <div id="north"> 
    117     <p>MapFish</p> 
     120    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: map in complex layout</p> 
    118121  </div> 
    119122  <div id="center"></div> 
    120123  <div id="south"> 
    121     <p>south - generally for informational stuff, also could be for status bar</p> 
     124    <p></p> 
    122125  </div> 
    123126 
    124127 </body> 
  • MapFish/client/examples/map/window.html

     
    99    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1010    <script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    1111 
     12    <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     13 
    1214    <script type="text/javascript"> 
    1315      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    1416      // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    3436   
    3537    Ext.onReady(function(){ 
    3638         
    37         var map = new OpenLayers.Map('olmap'); 
     39        var map = new OpenLayers.Map(); 
    3840 
    3941        var wms = new OpenLayers.Layer.WMS("OpenLayers WMS",  
    4042            "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'}, {buffer: 0}); 
     
    5355            plain: true, 
    5456            bodyStyle: 'padding:5px;', 
    5557            items: [{ 
    56                 xtype: 'mapcomponent', 
     58                xtype: 'gx_mappanel', 
    5759                map: map 
    5860            }] 
    5961        }); 
     
    100102      body element must not start with text to prevent IE bug 
    101103      http://extjs.com/forum/showthread.php?t=7912&highlight=createRange 
    102104  --> 
    103   <h1>MapFish example</h1> 
    104   This example shows how to use the MapComponent class to integrate a OL map into a window layout. 
    105   <div id="olmap"> 
     105  <div id="north"> 
     106    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: simple map in complex layout</p> 
    106107  </div> 
     108  </div> 
    107109 
    108110 </body> 
    109111</html> 
  • MapFish/client/examples/search/c2corg.html

     
    99 
    1010    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1111    <script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    12                      
     12 
     13    <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script>                 
    1314 
    1415    <script type="text/javascript"> 
    1516      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
     
    163164  </head> 
    164165 
    165166  <body> 
    166     <h1 class="page-title">Search Example</h1> 
     167 
     168    <div id="north"> 
     169      <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: search</p> 
     170    </div> 
    167171    <div id="content"> 
    168172      <div id="map" class="float-left"></div> 
    169173      <div class="float-left"> 
  • MapFish/client/examples/tree/tree_radio.html

     
    140140  </head> 
    141141 
    142142  <body> 
     143    <div id="north"> 
     144       <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: tree with radio button</p> 
     145    </div> 
    143146    <div id="right"> 
    144147      <div id="tree"></div> 
    145148    </div> 
  • MapFish/client/examples/tree/tree_user_model.html

     
    9898  </head> 
    9999 
    100100  <body> 
     101    <div id="north"> 
     102       <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: custom tree</p> 
     103    </div> 
    101104    <div id="right"> 
    102105      <div id="tree"></div> 
    103106    </div> 
  • MapFish/client/examples/tree/tree_user_model_complex.html

     
    170170  </head> 
    171171 
    172172  <body> 
     173     <div id="north"> 
     174       <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: complex custom tree</p> 
     175    </div> 
    173176    <div class="description"> 
    174177      The tree below demonstrates the following features: 
    175178      <ul> 
  • MapFish/client/examples/tree/tree_reorder.html

     
    115115  </head> 
    116116 
    117117  <body> 
     118    <div id="north"> 
     119       <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: tree with reordering functions</p> 
     120    </div> 
    118121    <div id="right"> 
    119122      You can drag and drop the layers below: 
    120123      <div id="tree"></div> 
  • MapFish/client/examples/recenter/basic.html

     
    5353        new Ext.BoxComponent({ // raw 
    5454          region: 'north', 
    5555          el: 'north', 
    56           height: 32 
     56          height: 32, 
     57          margins: {left: 5,top: 5} 
    5758        }), 
    5859        { 
    5960          region: 'west', 
     
    8990            region: 'center', 
    9091            title: 'Map', 
    9192            layout: 'fit', 
    92             xtype: 'mapcomponent', 
     93            xtype: 'gx_mappanel', 
    9394            map: map 
    9495        }] 
    9596    }); 
     
    101102<body> 
    102103  <div id="west"></div> 
    103104  <div id="north"> 
    104     <p style="font-size:14pt" align="center">MapFish recenter</p> 
     105    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: recenter</p> 
    105106  </div> 
    106107  <div id="center"></div> 
    107108</body> 
  • MapFish/client/examples/shortcuts/layout.html

     
    1010    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1111    <script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    1212 
     13    <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     14 
    1315    <script type="text/javascript"> 
    1416      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    1517      // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    3739        Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); 
    3840         
    3941         
    40         var map = new OpenLayers.Map('olmap'); 
     42        var map = new OpenLayers.Map(); 
    4143 
    4244        var wms = new OpenLayers.Layer.WMS("OpenLayers WMS",  
    4345            "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'}, {buffer: 0}); 
     
    5961        var shortcuts = new mapfish.widgets.Shortcuts({ 
    6062            map: map, 
    6163            store: store, 
     64            defaults: {anchor: '100%'},             
    6265            templates: { 
    6366                header: new Ext.Template("Choose a continent in the list"), 
    6467                footer: new Ext.Template("The map will automatically center to this location") 
     
    7174                new Ext.BoxComponent({ // raw 
    7275                    region:'north', 
    7376                    el: 'north', 
    74                     height:32 
     77                    height:32, 
     78                    margins: {left: 5,top: 5} 
    7579                }),{ 
    7680                    region:'south', 
    7781                    contentEl: 'south', 
     
    115119                    region:'center', 
    116120                    title: 'Map', 
    117121                    layout: 'fit', 
    118                     xtype: 'mapcomponent', 
     122                    xtype: 'gx_mappanel', 
    119123                    map: map 
    120124                } 
    121125             ] 
     
    128132    <p>Hi. I'm the west panel.</p> 
    129133  </div> 
    130134  <div id="north"> 
    131     <p>MapFish</p> 
     135    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: complex shortcuts</p> 
    132136  </div> 
    133   <div id="olmap"> 
    134   </div> 
    135137  <div id="south"> 
    136     <p>south - generally for informational stuff, also could be for status bar</p> 
     138    <p></p> 
    137139  </div> 
    138140 
    139141 </body> 
  • MapFish/client/examples/earth/earth.html

     
    1111 
    1212    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1313    <script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    14  
     14   
     15    <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     16 
    1517    <script type="text/javascript"> 
    1618      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    1719      // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    7476        options.controls = [ 
    7577            new OpenLayers.Control.Navigation()             
    7678        ] 
    77         map = new OpenLayers.Map('mapContainer', options); 
     79        map = new OpenLayers.Map(options); 
    7880 
    79         var mapcomponent = new mapfish.widgets.MapComponent({map: map}); 
    80  
    8181        // Creates OSM layer 
    8282        var mapnik = new OpenLayers.Layer.TMS( 
    8383            "OpenStreetMap", 
     
    139139                            }] 
    140140                        },{ 
    141141                            region: 'center', 
    142                             contentEl: 'mapContainer', 
    143142                            minWidth: 200, 
    144                             title: 'MapFish 2D' 
     143                            title: 'MapFish 2D', 
     144                            xtype: "gx_mappanel", 
     145                            map: map 
    145146                        },{ 
    146147                            region: 'east', 
    147148                            width: '40%', 
     
    160161                } 
    161162            ] 
    162163        }); 
    163                  
     164 
    164165        var center = new OpenLayers.LonLat(-13625995.09, 4550849.74);         
    165         map.setCenter(center, 14);                
     166        map.setCenter(center, 14); 
    166167         
    167168        // Creates GE plugin 
    168169        earth = new mapfish.Earth(map, 'map3dContainer', {lonLat: center, 
     
    239240<body> 
    240241  <div id="header"><a href="http://www.mapfish.org/"><img src="mapfish.png" width="139" height="74" /></a><div id="title">MapFish and Google Earth Demonstration</div></div> 
    241242  <div id="menu"></div> 
    242   <div id="mapContainer"></div> 
    243243  <div id="map3dContainer"> 
    244244  </div> 
    245245  <div id="footer" class="x-border-layout-ct">License Information: MapFish and Ext JS licensed under <a href="http://www.gnu.org/licenses/gpl-3.0.html">GPLv3</a>, Google Earth API <a href="http://code.google.com/intl/fr/apis/maps/terms.html">Terms of Service</a></div> 
  • MapFish/client/examples/geostat/proportionalSymbols.html

     
    99 
    1010    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1111    <script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    12      
     12 
     13    <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     14     
    1315    <script type="text/javascript"> 
    1416      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    1517      // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    6769    </style> 
    6870  </head> 
    6971  <body> 
    70     <h1 class="page-title">Proportional symbols Example</h1> 
     72   <div id="north"> 
     73    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: proportional symbols</p> 
     74  </div> 
    7175 
    7276    <div id="content"> 
    7377      <div id="right"> 
  • MapFish/client/examples/editing/list.html

     
    2222  </style> 
    2323</head> 
    2424<body> 
    25   <div id="title"> 
    26     <h1 style="font-size:20px">MapFish, FeatureList example</h1> 
     25  <div id="north"> 
     26    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: feature list</p> 
    2727  </div> 
    28   <div id="olmap"> 
    29   </div> 
    3028  <div id="help"> 
    3129    <!-- if somebody can tell me why the squares are not shown, I'll be happy! --> 
    3230    <ul class="list"> 
     
    4745<script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    4846<script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    4947 
     48<script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     49 
    5050<script type="text/javascript"> 
    5151  // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    5252  // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    111111    /* 
    112112     * Define OpenLayers map. 
    113113     */ 
    114     var map = new OpenLayers.Map('olmap'); 
     114    var map = new OpenLayers.Map(); 
    115115 
    116116    var wms = new OpenLayers.Layer.WMS("OpenLayers WMS", 
    117117        "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'}, {buffer: 0}); 
     
    301301                frame: true, 
    302302                border: true, 
    303303                region: 'north', 
    304                 contentEl: 'title' 
     304                contentEl: 'north' 
    305305            }, { 
    306306                region: 'east', 
    307307                title: 'Feature editing', 
     
    345345            }, { 
    346346                region:'center', 
    347347                title: 'Map', 
    348                 xtype: 'mapcomponent', 
     348                xtype: 'gx_mappanel', 
    349349                map: map 
    350350        }] 
    351351    }); 
  • MapFish/client/examples/editing/editing-panel.html

     
    1111    <script type="text/javascript" src="../../mfbase/ext/adapter/ext/ext-base.js"></script> 
    1212    <script type="text/javascript" src="../../mfbase/ext/ext-all-debug.js"></script> 
    1313 
     14    <script type="text/javascript" src="../../mfbase/geoext/lib/GeoExt.js"></script> 
     15 
    1416    <script type="text/javascript"> 
    1517      // Because of a bug in Firefox 2 we need to specify the MapFish base path. 
    1618      // See https://bugzilla.mozilla.org/show_bug.cgi?id=351282 
     
    4648    Ext.onReady(function() { 
    4749        Ext.QuickTips.init(); 
    4850         
    49         map = new OpenLayers.Map('olmap'); 
     51        map = new OpenLayers.Map(); 
    5052 
    5153        var setupMap = function(viewport) { 
    5254            var map = viewport.findById('map').map; 
     
    123125                new Ext.BoxComponent({ 
    124126                    region: 'north', 
    125127                    el: 'north', 
    126                     height: 32 
     128                    height: 32, 
     129                    margins: {left: 5,top: 5} 
    127130                }), { 
    128131                    region: 'east', 
    129132                    id: 'east-panel', 
     
    154157        </script> 
    155158</head> 
    156159<body> 
    157   <div id="north"></div> 
    158     <p>Feature editing panel example</p> 
     160  <div id="north"> 
     161    <p style="font-size:16pt;color:#15428B;font-weight:bold">MapFish example: feature editing panel</p> 
    159162  </div> 
    160   <div id="olmap"></div> 
    161163  <div id="helptext"> 
    162164    <ul class="list"> 
    163165      <li class="list">Choose a layer in the list of layers to edit</li>