OpenLayers OpenLayers

Changeset 6675

Show
Ignore:
Timestamp:
03/28/08 20:52:05 (10 months ago)
Author:
euzuro
Message:

replace more tabs with spaces

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/euzuro/pop/examples/popupMatrix.html

    r6646 r6675  
    1818        var map; 
    1919        var layer, markers; 
    20          
    21        var samplePopupContentsHTML = "Old man down, way down down, down by the docks of the city.<br>Blind and dirty, asked me for a dime, a dime for a cup of coffee.<br>I got no dime but I got some time to hear his story.<br>My name is August West, and I love my Pearly Baker best more than my wine.<br>More than my wine - more than my maker, though he's no friend of mine.<br><br>Everyone said, I'd come to no good, I knew I would Pearly, believe them.<br>Half of my life, I spent doin' time for some other fucker's crime,<br>The other half found me stumbling 'round drunk on Burgundy wine.<br><br>But I'll get back on my feet again someday,<br>The good Lord willin', if He says I may.<br>I know that the life i'm livin's no good,<br>I'll get a new start, live the life I should.<br>I'll get up and fly away, I'll get up and fly away, fly away.<br><br>Pearly's been true, true to me, true to my dyin' day he said,<br>I said to him, I said to him, I'm sure she's been.<br>I said to him, I'm sure she's been tru to you.<br><br>Got up and wandered, wandered downtown, nowhere to go but just hang around.<br>I've got a girl, named Bonnie Lee, I know that girl's been true to me.<br>I know she's been, I'm sure she's been true to me.<br><br>"; 
    22        var samplePopupContentsHTML_WideShort = "Old man down, way down down, down by the docks of the city.Blind and dirty, asked me for a dime, a dime for a cup of coffee.I got no dime but I got some time to hear his story.My name is August West, and I love my Pearly Baker best more than my wine.More than my wine - more than my maker, though he's no friend of mine.Everyone said, I'd come to no good, I knew I would Pearly, believe them.<br>Half of my life, I spent doin' time for some other fucker's crime,The other half found me stumbling 'round drunk on Burgundy wine.But I'll get back on my feet again someday,The good Lord willin', if He says I may.I know that the life i'm livin's no good,I'll get a new start, live the life I should.I'll get up and fly away, I'll get up and fly away, fly away.Pearly's been true, true to me, true to my dyin' day he said,I said to him, I said to him, I'm sure she's been.I said to him, I'm sure she's been tru to you.Got up and wandered, wandered downtown, nowhere to go but just hang around.I've got a girl, named Bonnie Lee, I know that girl's been true to me.I know she's been, I'm sure she's been true to me."; 
    23          
     20         
     21        var samplePopupContentsHTML = "Old man down, way down down, down by the docks of the city.<br>Blind and dirty, asked me for a dime, a dime for a cup of coffee.<br>I got no dime but I got some time to hear his story.<br>My name is August West, and I love my Pearly Baker best more than my wine.<br>More than my wine - more than my maker, though he's no friend of mine.<br><br>Everyone said, I'd come to no good, I knew I would Pearly, believe them.<br>Half of my life, I spent doin' time for some other fucker's crime,<br>The other half found me stumbling 'round drunk on Burgundy wine.<br><br>But I'll get back on my feet again someday,<br>The good Lord willin', if He says I may.<br>I know that the life i'm livin's no good,<br>I'll get a new start, live the life I should.<br>I'll get up and fly away, I'll get up and fly away, fly away.<br><br>Pearly's been true, true to me, true to my dyin' day he said,<br>I said to him, I said to him, I'm sure she's been.<br>I said to him, I'm sure she's been tru to you.<br><br>Got up and wandered, wandered downtown, nowhere to go but just hang around.<br>I've got a girl, named Bonnie Lee, I know that girl's been true to me.<br>I know she's been, I'm sure she's been true to me.<br><br>"; 
     22        var samplePopupContentsHTML_WideShort = "Old man down, way down down, down by the docks of the city.Blind and dirty, asked me for a dime, a dime for a cup of coffee.I got no dime but I got some time to hear his story.My name is August West, and I love my Pearly Baker best more than my wine.More than my wine - more than my maker, though he's no friend of mine.Everyone said, I'd come to no good, I knew I would Pearly, believe them.<br>Half of my life, I spent doin' time for some other fucker's crime,The other half found me stumbling 'round drunk on Burgundy wine.But I'll get back on my feet again someday,The good Lord willin', if He says I may.I know that the life i'm livin's no good,I'll get a new start, live the life I should.I'll get up and fly away, I'll get up and fly away, fly away.Pearly's been true, true to me, true to my dyin' day he said,I said to him, I said to him, I'm sure she's been.I said to him, I'm sure she's been tru to you.Got up and wandered, wandered downtown, nowhere to go but just hang around.I've got a girl, named Bonnie Lee, I know that girl's been true to me.I know she's been, I'm sure she's been true to me."; 
     23         
    2424// different popup types 
    2525 
    26    //anchored 
    27        AutoSizeAnchored = OpenLayers.Class(OpenLayers.Popup.Anchored, { 
    28            'autoSize': true 
    29        }); 
    30  
    31        AutoSizeAnchoredMinSize = OpenLayers.Class(OpenLayers.Popup.Anchored, { 
    32            'autoSize': true,  
    33            'minSize': new OpenLayers.Size(400,400) 
    34        }); 
    35  
    36        AutoSizeAnchoredMaxSize = OpenLayers.Class(OpenLayers.Popup.Anchored, { 
    37            'autoSize': true,  
    38            'maxSize': new OpenLayers.Size(100,100) 
    39        }); 
    40  
    41    //anchoredbubble 
    42      
    43        AutoSizeAnchoredBubble = OpenLayers.Class(OpenLayers.Popup.AnchoredBubble, { 
    44            'autoSize': true 
    45        }); 
    46  
    47        AutoSizeAnchoredBubbleMinSize = OpenLayers.Class(OpenLayers.Popup.AnchoredBubble, { 
    48            'autoSize': true,  
    49            'minSize': new OpenLayers.Size(400,400) 
    50        }); 
    51  
    52        AutoSizeAnchoredBubbleMaxSize = OpenLayers.Class(OpenLayers.Popup.AnchoredBubble, { 
    53            'autoSize': true,  
    54            'maxSize': new OpenLayers.Size(100,100) 
    55        }); 
    56  
    57    //framed 
    58  
    59        //disable the autosize for the purpose of our matrix 
    60        OpenLayers.Popup.FramedCloud.prototype.autoSize = false; 
    61  
    62        AutoSizeFramedCloud = OpenLayers.Class(OpenLayers.Popup.FramedCloud, { 
    63            'autoSize': true 
    64        }); 
    65  
    66        AutoSizeFramedCloudMinSize = OpenLayers.Class(OpenLayers.Popup.FramedCloud, { 
    67            'autoSize': true,  
    68            'minSize': new OpenLayers.Size(400,400) 
    69        }); 
    70  
    71        AutoSizeFramedCloudMaxSize = OpenLayers.Class(OpenLayers.Popup.FramedCloud, { 
    72            'autoSize': true,  
    73            'maxSize': new OpenLayers.Size(100,100) 
    74        }); 
     26    //anchored 
     27        AutoSizeAnchored = OpenLayers.Class(OpenLayers.Popup.Anchored, { 
     28            'autoSize': true 
     29        }); 
     30 
     31        AutoSizeAnchoredMinSize = OpenLayers.Class(OpenLayers.Popup.Anchored, { 
     32            'autoSize': true,  
     33            'minSize': new OpenLayers.Size(400,400) 
     34        }); 
     35 
     36        AutoSizeAnchoredMaxSize = OpenLayers.Class(OpenLayers.Popup.Anchored, { 
     37            'autoSize': true,  
     38            'maxSize': new OpenLayers.Size(100,100) 
     39        }); 
     40 
     41    //anchoredbubble 
     42     
     43        AutoSizeAnchoredBubble = OpenLayers.Class(OpenLayers.Popup.AnchoredBubble, { 
     44            'autoSize': true 
     45        }); 
     46 
     47        AutoSizeAnchoredBubbleMinSize = OpenLayers.Class(OpenLayers.Popup.AnchoredBubble, { 
     48            'autoSize': true,  
     49            'minSize': new OpenLayers.Size(400,400) 
     50        }); 
     51 
     52        AutoSizeAnchoredBubbleMaxSize = OpenLayers.Class(OpenLayers.Popup.AnchoredBubble, { 
     53            'autoSize': true,  
     54            'maxSize': new OpenLayers.Size(100,100) 
     55        }); 
     56 
     57    //framed 
     58 
     59        //disable the autosize for the purpose of our matrix 
     60        OpenLayers.Popup.FramedCloud.prototype.autoSize = false; 
     61 
     62        AutoSizeFramedCloud = OpenLayers.Class(OpenLayers.Popup.FramedCloud, { 
     63            'autoSize': true 
     64        }); 
     65 
     66        AutoSizeFramedCloudMinSize = OpenLayers.Class(OpenLayers.Popup.FramedCloud, { 
     67            'autoSize': true,  
     68            'minSize': new OpenLayers.Size(400,400) 
     69        }); 
     70 
     71        AutoSizeFramedCloudMaxSize = OpenLayers.Class(OpenLayers.Popup.FramedCloud, { 
     72            'autoSize': true,  
     73            'maxSize': new OpenLayers.Size(100,100) 
     74        }); 
    7575 
    7676         
     
    7878            map = new OpenLayers.Map('map'); 
    7979 
    80            layer = new OpenLayers.Layer.Image( 
    81                "popupMatrix",  
    82                "popupMatrix.jpg",  
    83                new OpenLayers.Bounds(-82.5,-71.5,97.5,67.5), 
    84                new OpenLayers.Size(1024,768) 
    85            ); 
     80            layer = new OpenLayers.Layer.Image( 
     81                "popupMatrix",  
     82                "popupMatrix.jpg",  
     83                new OpenLayers.Bounds(-82.5,-71.5,97.5,67.5), 
     84                new OpenLayers.Size(1024,768) 
     85            ); 
    8686            map.addLayer(layer); 
    8787 
     
    9797        function addMarkers() { 
    9898 
    99            var ll, popupClass, popupContentHTML; 
    100  
    101         // 
    102        //Anchored NO OVERFLOW 
    103         // 
    104  
    105          //anchored popup small contents no autosize 
     99            var ll, popupClass, popupContentHTML; 
     100 
     101        // 
     102        //Anchored NO OVERFLOW 
     103        // 
     104 
     105          //anchored popup small contents no autosize 
    106106            ll = new OpenLayers.LonLat(-55,20); 
    107107            popupClass = OpenLayers.Popup.Anchored; 
     
    109109            addMarker(ll, popupClass, popupContentHTML); 
    110110 
    111          //anchored popup small contents no autosize closebox 
     111          //anchored popup small contents no autosize closebox 
    112112            var ll = new OpenLayers.LonLat(-50,20); 
    113113            popupClass = OpenLayers.Popup.Anchored; 
     
    116116 
    117117 
    118          //anchored popup small contents autosize 
     118          //anchored popup small contents autosize 
    119119            ll = new OpenLayers.LonLat(-40,20); 
    120120            popupClass = AutoSizeAnchored; 
     
    122122            addMarker(ll, popupClass, popupContentHTML); 
    123123 
    124          //anchored popup small contents autosize closebox 
     124          //anchored popup small contents autosize closebox 
    125125            ll = new OpenLayers.LonLat(-35,20); 
    126126            popupClass = AutoSizeAnchored; 
     
    129129 
    130130 
    131          //anchored popup small contents autosize minsize 
     131          //anchored popup small contents autosize minsize 
    132132            ll = new OpenLayers.LonLat(-25,20); 
    133133            popupClass = AutoSizeAnchoredMinSize; 
     
    135135            addMarker(ll, popupClass, popupContentHTML); 
    136136 
    137          //anchored popup small contents autosize minsize closebox 
     137          //anchored popup small contents autosize minsize closebox 
    138138            ll = new OpenLayers.LonLat(-20,20); 
    139139            popupClass = AutoSizeAnchoredMinSize; 
     
    142142 
    143143 
    144          //anchored popup small contents autosize maxsize 
     144          //anchored popup small contents autosize maxsize 
    145145            ll = new OpenLayers.LonLat(-10,20); 
    146146            popupClass = AutoSizeAnchoredMaxSize; 
     
    148148            addMarker(ll, popupClass, popupContentHTML); 
    149149 
    150          //anchored popup small contents autosize maxsize closebox 
     150          //anchored popup small contents autosize maxsize closebox 
    151151            ll = new OpenLayers.LonLat(-5,20); 
    152152            popupClass = AutoSizeAnchoredMaxSize; 
     
    155155 
    156156 
    157          //anchored popup bigger contents autosize 
     157          //anchored popup bigger contents autosize 
    158158            ll = new OpenLayers.LonLat(5,20); 
    159159            popupClass = AutoSizeAnchored; 
     
    161161            addMarker(ll, popupClass, popupContentHTML); 
    162162 
    163          //anchored popup bigger contents autosize closebox 
     163          //anchored popup bigger contents autosize closebox 
    164164            ll = new OpenLayers.LonLat(10,20); 
    165165            popupClass = AutoSizeAnchored; 
     
    167167            addMarker(ll, popupClass, popupContentHTML, true); 
    168168 
    169          //anchored popup wide short text contents autosize 
     169          //anchored popup wide short text contents autosize 
    170170            ll = new OpenLayers.LonLat(20,20); 
    171171            popupClass = AutoSizeAnchored; 
     
    173173            addMarker(ll, popupClass, popupContentHTML); 
    174174 
    175          //anchored popup wide short text contents autosize closebox 
     175          //anchored popup wide short text contents autosize closebox 
    176176            ll = new OpenLayers.LonLat(25,20); 
    177177            popupClass = AutoSizeAnchored; 
     
    180180 
    181181 
    182          //anchored popup wide short fixed contents autosize 
     182          //anchored popup wide short fixed contents autosize 
    183183            ll = new OpenLayers.LonLat(35,20); 
    184184            popupClass = AutoSizeAnchored; 
     
    186186            addMarker(ll, popupClass, popupContentHTML); 
    187187 
    188          //anchored popup wide short fixed contents autosize closebox 
     188          //anchored popup wide short fixed contents autosize closebox 
    189189            ll = new OpenLayers.LonLat(40,20); 
    190190            popupClass = AutoSizeAnchored; 
     
    193193 
    194194 
    195          //anchored popup thin long fixed contents autosize 
     195          //anchored popup thin long fixed contents autosize 
    196196            ll = new OpenLayers.LonLat(50,20); 
    197197            popupClass = AutoSizeAnchored; 
     
    199199            addMarker(ll, popupClass, popupContentHTML); 
    200200 
    201          //anchored popup thin long fixed contents autosize closebox 
     201          //anchored popup thin long fixed contents autosize closebox 
    202202            ll = new OpenLayers.LonLat(55,20); 
    203203            popupClass = AutoSizeAnchored; 
     
    206206 
    207207 
    208          //anchored popup wide long fixed contents autosize 
     208          //anchored popup wide long fixed contents autosize 
    209209            ll = new OpenLayers.LonLat(65,20); 
    210210            popupClass = AutoSizeAnchored; 
     
    212212            addMarker(ll, popupClass, popupContentHTML); 
    213213 
    214          //anchored popup wide long fixed contents autosize closebox 
     214          //anchored popup wide long fixed contents autosize closebox 
    215215            ll = new OpenLayers.LonLat(70,20); 
    216216            popupClass = AutoSizeAnchored; 
     
    219219 
    220220        // 
    221        //Anchored WITH OVERFLOW 
    222         // 
    223  
    224          //anchored popup small contents no autosize overflow 
     221        //Anchored WITH OVERFLOW 
     222        // 
     223 
     224          //anchored popup small contents no autosize overflow 
    225225            var ll = new OpenLayers.LonLat(-55,15); 
    226226            popupClass = OpenLayers.Popup.Anchored; 
     
    228228            addMarker(ll, popupClass, popupContentHTML, false, true); 
    229229 
    230          //anchored popup small contents no autosize closebox overflow 
     230          //anchored popup small contents no autosize closebox overflow 
    231231            var ll = new OpenLayers.LonLat(-50,15); 
    232232            popupClass = OpenLayers.Popup.Anchored; 
     
    235235 
    236236 
    237          //anchored popup small contents autosize overflow 
     237          //anchored popup small contents autosize overflow 
    238238            ll = new OpenLayers.LonLat(-40,15); 
    239239            popupClass = AutoSizeAnchored; 
     
    241241            addMarker(ll, popupClass, popupContentHTML, false, true); 
    242242 
    243          //anchored popup small contents autosize closebox overflow 
     243          //anchored popup small contents autosize closebox overflow 
    244244            ll = new OpenLayers.LonLat(-35,15); 
    245245            popupClass = AutoSizeAnchored; 
     
    248248 
    249249 
    250          //anchored popup small contents autosize minsize overflow 
     250          //anchored popup small contents autosize minsize overflow 
    251251            ll = new OpenLayers.LonLat(-25,15); 
    252252            popupClass = AutoSizeAnchoredMinSize; 
     
    254254            addMarker(ll, popupClass, popupContentHTML, false, true); 
    255255 
    256          //anchored popup small contents autosize minsize closebox overflow 
     256          //anchored popup small contents autosize minsize closebox overflow 
    257257            ll = new OpenLayers.LonLat(-20,15); 
    258258            popupClass = AutoSizeAnchoredMinSize; 
     
    261261 
    262262 
    263          //anchored popup small contents autosize maxsize overflow 
     263          //anchored popup small contents autosize maxsize overflow 
    264264            ll = new OpenLayers.LonLat(-10,15); 
    265265            popupClass = AutoSizeAnchoredMaxSize; 
     
    267267            addMarker(ll, popupClass, popupContentHTML, false, true); 
    268268 
    269          //anchored popup small contents autosize maxsize closebox overflow 
     269          //anchored popup small contents autosize maxsize closebox overflow 
    270270            ll = new OpenLayers.LonLat(-5,15); 
    271271            popupClass = AutoSizeAnchoredMaxSize; 
     
    274274 
    275275 
    276          //anchored popup bigger contents autosize overflow 
     276          //anchored popup bigger contents autosize overflow 
    277277            ll = new OpenLayers.LonLat(5,15); 
    278278            popupClass = AutoSizeAnchored; 
     
    280280            addMarker(ll, popupClass, popupContentHTML, false, true); 
    281281 
    282          //anchored popup bigger contents autosize closebox overflow 
     282          //anchored popup bigger contents autosize closebox overflow 
    283283            ll = new OpenLayers.LonLat(10,15); 
    284284            popupClass = AutoSizeAnchored; 
     
    287287 
    288288 
    289          //anchored popup wide short text contents autosize overflow 
     289          //anchored popup wide short text contents autosize overflow 
    290290            ll = new OpenLayers.LonLat(20,15); 
    291291            popupClass = AutoSizeAnchored; 
     
    293293            addMarker(ll, popupClass, popupContentHTML, false, true); 
    294294 
    295          //anchored popup wide short text contents autosize closebox overflow 
     295          //anchored popup wide short text contents autosize closebox overflow 
    296296            ll = new OpenLayers.LonLat(25,15); 
    297297            popupClass = AutoSizeAnchored; 
     
    299299            addMarker(ll, popupClass, popupContentHTML, true, true); 
    300300 
    301          //anchored popup wide short fixed contents autosize overflow 
     301          //anchored popup wide short fixed contents autosize overflow 
    302302            ll = new OpenLayers.LonLat(35,15); 
    303303            popupClass = AutoSizeAnchored; 
     
    305305            addMarker(ll, popupClass, popupContentHTML, false, true); 
    306306 
    307          //anchored popup wide short fixed contents autosize closebox overflow 
     307          //anchored popup wide short fixed contents autosize closebox overflow 
    308308            ll = new OpenLayers.LonLat(40,15); 
    309309            popupClass = AutoSizeAnchored; 
     
    312312 
    313313 
    314          //anchored popup thin long fixed contents autosize overflow 
     314          //anchored popup thin long fixed contents autosize overflow 
    315315            ll = new OpenLayers.LonLat(50,15); 
    316316            popupClass = AutoSizeAnchored; 
     
    318318            addMarker(ll, popupClass, popupContentHTML, false, true); 
    319319 
    320          //anchored popup thin long fixed contents autosize closebox overflow 
     320          //anchored popup thin long fixed contents autosize closebox overflow 
    321321            ll = new OpenLayers.LonLat(55,15); 
    322322            popupClass = AutoSizeAnchored; 
     
    325325 
    326326 
    327          //anchored popup wide long fixed contents autosize overflow 
     327          //anchored popup wide long fixed contents autosize overflow 
    328328            ll = new OpenLayers.LonLat(65,15); 
    329329            popupClass = AutoSizeAnchored; 
     
    331331            addMarker(ll, popupClass, popupContentHTML, false, true); 
    332332 
    333          //anchored popup wide long fixed contents autosize closebox overflow 
     333          //anchored popup wide long fixed contents autosize closebox overflow 
    334334            ll = new OpenLayers.LonLat(70,15); 
    335335            popupClass = AutoSizeAnchored; 
     
    339339 
    340340        // 
    341        //Bubble NO OVERFLOW 
    342         // 
    343  
    344          //anchored bubble popup small contents no autosize 
     341        //Bubble NO OVERFLOW 
     342        // 
     343 
     344            //anchored bubble popup small contents no autosize 
    345345            var ll = new OpenLayers.LonLat(-55,5); 
    346346            popupClass = OpenLayers.Popup.AnchoredBubble; 
     
    348348            addMarker(ll, popupClass, popupContentHTML, false); 
    349349 
    350          //anchored bubble popup small contents no autosize closebox 
     350            //anchored bubble popup small contents no autosize closebox 
    351351            var ll = new OpenLayers.LonLat(-50,5); 
    352352            popupClass = OpenLayers.Popup.AnchoredBubble; 
     
    355355 
    356356 
    357          //anchored bubble popup small contents autosize 
     357          //anchored bubble popup small contents autosize 
    358358            ll = new OpenLayers.LonLat(-40,5); 
    359359            popupClass = AutoSizeAnchoredBubble; 
     
    361361            addMarker(ll, popupClass, popupContentHTML, false); 
    362362 
    363          //anchored bubble popup small contents autosize closebox 
     363          //anchored bubble popup small contents autosize closebox 
    364364            ll = new OpenLayers.LonLat(-35,5); 
    365365            popupClass = AutoSizeAnchoredBubble; 
     
    368368 
    369369 
    370          //anchored bubble popup small contents autosize minsize 
     370          //anchored bubble popup small contents autosize minsize 
    371371            ll = new OpenLayers.LonLat(-25,5); 
    372372            popupClass = AutoSizeAnchoredBubbleMinSize; 
     
    374374            addMarker(ll, popupClass, popupContentHTML, false); 
    375375 
    376          //anchored bubble popup small contents autosize minsize closebox 
     376          //anchored bubble popup small contents autosize minsize closebox 
    377377            ll = new OpenLayers.LonLat(-20,5); 
    378378            popupClass = AutoSizeAnchoredBubbleMinSize; 
     
    381381 
    382382 
    383          //anchored bubble popup small contents autosize maxsize 
     383          //anchored bubble popup small contents autosize maxsize 
    384384            ll = new OpenLayers.LonLat(-10,5); 
    385385            popupClass = AutoSizeAnchoredBubbleMaxSize; 
     
    387387            addMarker(ll, popupClass, popupContentHTML, false); 
    388388 
    389          //anchored bubble popup small contents autosize maxsize closebox 
     389          //anchored bubble popup small contents autosize maxsize closebox 
    390390            ll = new OpenLayers.LonLat(-5,5); 
    391391            popupClass = AutoSizeAnchoredBubbleMaxSize; 
     
    394394 
    395395 
    396          //anchored bubble popup bigger contents autosize closebox 
     396          //anchored bubble popup bigger contents autosize closebox 
    397397            ll = new OpenLayers.LonLat(5,5); 
    398398            popupClass = AutoSizeAnchoredBubble; 
     
    400400            addMarker(ll, popupClass, popupContentHTML, false); 
    401401 
    402          //anchored bubble popup bigger contents autosize closebox 
     402          //anchored bubble popup bigger contents autosize closebox 
    403403            ll = new OpenLayers.LonLat(10,5); 
    404404            popupClass = AutoSizeAnchoredBubble; 
     
    407407 
    408408 
    409          //anchored bubble popup wide short text contents autosize 
     409          //anchored bubble popup wide short text contents autosize 
    410410            ll = new OpenLayers.LonLat(20,5); 
    411411            popupClass = AutoSizeAnchoredBubble; 
     
    413413            addMarker(ll, popupClass, popupContentHTML); 
    414414 
    415          //anchored bubble popup wide short text contents autosize closebox 
     415          //anchored bubble popup wide short text contents autosize closebox 
    416416            ll = new OpenLayers.LonLat(25,5); 
    417417            popupClass = AutoSizeAnchoredBubble; 
     
    420420 
    421421 
    422          //anchored bubble popup wide short fixed contents autosize 
     422          //anchored bubble popup wide short fixed contents autosize 
    423423            ll = new OpenLayers.LonLat(35,5); 
    424424            popupClass = AutoSizeAnchoredBubble; 
     
    426426            addMarker(ll, popupClass, popupContentHTML); 
    427427 
    428          //anchored bubble popup wide short fixed contents autosize closebox 
     428          //anchored bubble popup wide short fixed contents autosize closebox 
    429429            ll = new OpenLayers.LonLat(40,5); 
    430430            popupClass = AutoSizeAnchoredBubble; 
     
    433433 
    434434 
    435          //anchored bubble popup thin long fixed contents autosize 
     435          //anchored bubble popup thin long fixed contents autosize 
    436436            ll = new OpenLayers.LonLat(50,5); 
    437437            popupClass = AutoSizeAnchoredBubble; 
     
    439439            addMarker(ll, popupClass, popupContentHTML); 
    440440 
    441          //anchored bubble popup thin long fixed contents autosize closebox 
     441          //anchored bubble popup thin long fixed contents autosize closebox 
    442442            ll = new OpenLayers.LonLat(55,5); 
    443443            popupClass = AutoSizeAnchoredBubble; 
     
    446446 
    447447 
    448          //anchored bubble popup wide long fixed contents autosize 
     448          //anchored bubble popup wide long fixed contents autosize 
    449449            ll = new OpenLayers.LonLat(65,5); 
    450450            popupClass = AutoSizeAnchoredBubble; 
     
    452452            addMarker(ll, popupClass, popupContentHTML); 
    453453 
    454          //anchored bubble popup wide long fixed contents autosize closebox 
     454          //anchored bubble popup wide long fixed contents autosize closebox 
    455455            ll = new OpenLayers.LonLat(70,5); 
    456456            popupClass = AutoSizeAnchoredBubble; 
     
    459459 
    460460        // 
    461        //Bubble OVERFLOW 
    462         // 
    463  
    464          //anchored bubble popup small contents no autosize 
     461        //Bubble OVERFLOW 
     462        // 
     463 
     464            //anchored bubble popup small contents no autosize 
    465465            var ll = new OpenLayers.LonLat(-55,0); 
    466466            popupClass = OpenLayers.Popup.AnchoredBubble; 
     
    468468            addMarker(ll, popupClass, popupContentHTML, false, true); 
    469469 
    470          //anchored bubble popup small contents no autosize closebox 
     470            //anchored bubble popup small contents no autosize closebox 
    471471            var ll = new OpenLayers.LonLat(-50,0); 
    472472            popupClass = OpenLayers.Popup.AnchoredBubble; 
     
    475475 
    476476 
    477          //anchored bubble popup small contents autosize 
     477          //anchored bubble popup small contents autosize 
    478478            ll = new OpenLayers.LonLat(-40,0); 
    479479            popupClass = AutoSizeAnchoredBubble; 
     
    481481            addMarker(ll, popupClass, popupContentHTML, false, true); 
    482482 
    483          //anchored bubble popup small contents autosize closebox 
     483          //anchored bubble popup small contents autosize closebox 
    484484            ll = new OpenLayers.LonLat(-35,0); 
    485485            popupClass = AutoSizeAnchoredBubble; 
     
    488488 
    489489 
    490          //anchored bubble popup small contents autosize minsize 
     490          //anchored bubble popup small contents autosize minsize 
    491491            ll = new OpenLayers.LonLat(-25,0); 
    492492            popupClass = AutoSizeAnchoredBubbleMinSize; 
     
    494494            addMarker(ll, popupClass, popupContentHTML, false, true); 
    495495 
    496          //anchored bubble popup small contents autosize minsize closebox 
     496          //anchored bubble popup small contents autosize minsize closebox 
    497497            ll = new OpenLayers.LonLat(-20,0); 
    498498            popupClass = AutoSizeAnchoredBubbleMinSize; 
     
    501501 
    502502 
    503          //anchored bubble popup small contents autosize maxsize 
     503          //anchored bubble popup small contents autosize maxsize 
    504504            ll = new OpenLayers.LonLat(-10,0); 
    505505            popupClass = AutoSizeAnchoredBubbleMaxSize; 
     
    507507            addMarker(ll, popupClass, popupContentHTML, false, true); 
    508508 
    509          //anchored bubble popup small contents autosize maxsize closebox 
     509          //anchored bubble popup small contents autosize maxsize closebox 
    510510            ll = new OpenLayers.LonLat(-5,0); 
    511511            popupClass = AutoSizeAnchoredBubbleMaxSize; 
     
    514514 
    515515 
    516          //anchored bubble popup bigger contents autosize closebox 
     516          //anchored bubble popup bigger contents autosize closebox 
    517517            ll = new OpenLayers.LonLat(5,0); 
    518518            popupClass = AutoSizeAnchoredBubble; 
     
    520520            addMarker(ll, popupClass, popupContentHTML, false, true); 
    521521 
    522          //anchored bubble popup bigger contents autosize closebox 
     522          //anchored bubble popup bigger contents autosize closebox 
    523523            ll = new OpenLayers.LonLat(10,0); 
    524524            popupClass = AutoSizeAnchoredBubble; 
     
    527527 
    528528 
    529          //anchored bubble popup wide short contents autosize overflow 
     529          //anchored bubble popup wide short contents autosize overflow 
    530530            ll = new OpenLayers.LonLat(20,0); 
    531531            popupClass = AutoSizeAnchoredBubble; 
     
    533533            addMarker(ll, popupClass, popupContentHTML, false, true); 
    534534 
    535          //anchored bubble popup wide short contents autosize closebox overflow 
     535          //anchored bubble popup wide short contents autosize closebox overflow 
    536536            ll = new OpenLayers.LonLat(25,0); 
    537537            popupClass = AutoSizeAnchoredBubble; 
     
    540540 
    541541 
    542          //anchored bubble popup wide short fixed contents autosize overflow 
     542          //anchored bubble popup wide short fixed contents autosize overflow 
    543543            ll = new OpenLayers.LonLat(35,0); 
    544544            popupClass = AutoSizeAnchoredBubble; 
     
    546546            addMarker(ll, popupClass, popupContentHTML, false, true); 
    547547 
    548          //anchored bubble popup wide short fixed contents autosize closebox overflow 
     548          //anchored bubble popup wide short fixed contents autosize closebox overflow 
    549549            ll = new OpenLayers.LonLat(40,0); 
    550550            popupClass = AutoSizeAnchoredBubble; 
     
    553553 
    554554 
    555          //anchored bubble popup thin long fixed contents autosize overflow 
     555          //anchored bubble popup thin long fixed contents autosize overflow 
    556556            ll = new OpenLayers.LonLat(50,0); 
    557557            popupClass = AutoSizeAnchoredBubble; 
     
    559559            addMarker(ll, popupClass, popupContentHTML, false, true); 
    560560 
    561          //anchored bubble popup thin long fixed contents autosize closebox overflow 
     561          //anchored bubble popup thin long fixed contents autosize closebox overflow 
    562562            ll = new OpenLayers.LonLat(55,0); 
    563563            popupClass = AutoSizeAnchoredBubble; 
     
    566566 
    567567 
    568          //anchored bubble popup wide long fixed contents autosize overflow 
     568          //anchored bubble popup wide long fixed contents autosize overflow 
    569569            ll = new OpenLayers.LonLat(65,0); 
    570570            popupClass = AutoSizeAnchoredBubble; 
     
    572572            addMarker(ll, popupClass, popupContentHTML, false, true); 
    573573 
    574          //anchored bubble popup wide long fixed contents autosize closebox overflow 
     574          //anchored bubble popup wide long fixed contents autosize closebox overflow 
    575575            ll = new OpenLayers.LonLat(70,0); 
    576576            popupClass = AutoSizeAnchoredBubble; 
     
    581581  
    582582        // 
    583        //FRAMED NO OVERFLOW 
    584         // 
    585  
    586          //anchored bubble popup small contents no autosize 
     583        //FRAMED NO OVERFLOW 
     584        // 
     585 
     586            //anchored bubble popup small contents no autosize 
    587587            var ll = new OpenLayers.LonLat(-55,-15); 
    588588            popupClass = OpenLayers.Popup.FramedCloud; 
     
    590590            addMarker(ll, popupClass, popupContentHTML, false); 
    591591 
    592          //anchored bubble popup small contents no autosize closebox 
     592            //anchored bubble popup small contents no autosize closebox 
    593593            var ll = new OpenLayers.LonLat(-50,-15); 
    594594            popupClass = OpenLayers.Popup.FramedCloud; 
     
    597597 
    598598 
    599          //anchored bubble popup small contents autosize 
     599          //anchored bubble popup small contents autosize 
    600600            ll = new OpenLayers.LonLat(-40,-15); 
    601601            popupClass = AutoSizeFramedCloud; 
     
    603603            addMarker(ll, popupClass, popupContentHTML, false); 
    604604 
    605          //anchored bubble popup small contents autosize closebox 
     605          //anchored bubble popup small contents autosize closebox 
    606606            ll = new OpenLayers.LonLat(-35,-15); 
    607607            popupClass = AutoSizeFramedCloud; 
     
    610610 
    611611 
    612          //anchored bubble popup small contents autosize minsize 
     612          //anchored bubble popup small contents autosize minsize 
    613613            ll = new OpenLayers.LonLat(-25,-15); 
    614614            popupClass = AutoSizeFramedCloudMinSize; 
     
    616616            addMarker(ll, popupClass, popupContentHTML, false); 
    617617 
    618          //anchored bubble popup small contents autosize minsize closebox 
     618          //anchored bubble popup small contents autosize minsize closebox 
    619619            ll = new OpenLayers.LonLat(-20,-15); 
    620620            popupClass = AutoSizeFramedCloudMinSize; 
     
    623623 
    624624 
    625          //anchored bubble popup small contents autosize maxsize 
     625          //anchored bubble popup small contents autosize maxsize 
    626626            ll = new OpenLayers.LonLat(-10,-15); 
    627627            popupClass = AutoSizeFramedCloudMaxSize; 
     
    629629            addMarker(ll, popupClass, popupContentHTML, false); 
    630630 
    631          //anchored bubble popup small contents autosize maxsize closebox 
     631          //anchored bubble popup small contents autosize maxsize closebox 
    632632            ll = new OpenLayers.LonLat(-5,-15); 
    633633            popupClass = AutoSizeFramedCloudMaxSize; 
     
    636636 
    637637 
    638          //anchored bubble popup bigger contents autosize closebox 
     638          //anchored bubble popup bigger contents autosize closebox 
    639639            ll = new OpenLayers.LonLat(5,-15); 
    640640            popupClass = AutoSizeFramedCloud; 
     
    642642            addMarker(ll, popupClass, popupContentHTML, false); 
    643643 
    644          //anchored bubble popup bigger contents autosize closebox 
     644          //anchored bubble popup bigger contents autosize closebox 
    645645            ll = new OpenLayers.LonLat(10,-15); 
    646646            popupClass = AutoSizeFramedCloud; 
     
    649649 
    650650 
    651          //anchored bubble popup wide short text contents autosize 
     651          //anchored bubble popup wide short text contents autosize 
    652652            ll = new OpenLayers.LonLat(20,-15); 
    653653            popupClass = AutoSizeFramedCloud; 
     
    655655            addMarker(ll, popupClass, popupContentHTML); 
    656656 
    657          //anchored bubble popup wide short text contents autosize closebox 
     657          //anchored bubble popup wide short text contents autosize closebox 
    658658            ll = new OpenLayers.LonLat(25,-15); 
    659659            popupClass = AutoSizeFramedCloud; 
     
    662662 
    663663 
    664          //anchored bubble popup wide short fixed contents autosize 
     664          //anchored bubble popup wide short fixed contents autosize 
    665665            ll = new OpenLayers.LonLat(35,-15); 
    666666            popupClass = AutoSizeFramedCloud; 
     
    668668            addMarker(ll, popupClass, popupContentHTML); 
    669669 
    670          //anchored bubble popup wide short fixed contents autosize closebox 
     670          //anchored bubble popup wide short fixed contents autosize closebox 
    671671            ll = new OpenLayers.LonLat(40,-15); 
    672672            popupClass = AutoSizeFramedCloud; 
     
    675675 
    676676 
    677          //anchored bubble popup thin long fixed contents autosize 
     677          //anchored bubble popup thin long fixed contents autosize 
    678678            ll = new OpenLayers.LonLat(50,-15); 
    679679            popupClass = AutoSizeFramedCloud; 
     
    681681            addMarker(ll, popupClass, popupContentHTML); 
    682682 
    683          //anchored bubble popup thin long fixed contents autosize closebox 
     683          //anchored bubble popup thin long fixed contents autosize closebox 
    684684            ll = new OpenLayers.LonLat(55,-15); 
    685685            popupClass = AutoSizeFramedCloud; 
     
    688688 
    689689 
    690          //anchored bubble popup wide long fixed contents autosize 
     690          //anchored bubble popup wide long fixed contents autosize 
    691691            ll = new OpenLayers.LonLat(65,-15); 
    692692            popupClass = AutoSizeFramedCloud; 
     
    694694            addMarker(ll, popupClass, popupContentHTML); 
    695695 
    696          //anchored bubble popup wide long fixed contents autosize closebox 
     696          //anchored bubble popup wide long fixed contents autosize closebox 
    697697            ll = new OpenLayers.LonLat(70,-15); 
    698698            popupClass = AutoSizeFramedCloud; 
     
    701701 
    702702        // 
    703        //FRAMED OVERFLOW 
    704         // 
    705  
    706          //anchored bubble popup small contents no autosize 
     703        //FRAMED OVERFLOW 
     704        // 
     705 
     706            //anchored bubble popup small contents no autosize 
    707707            var ll = new OpenLayers.LonLat(-55,-20); 
    708708            popupClass = OpenLayers.Popup.FramedCloud; 
     
    710710            addMarker(ll, popupClass, popupContentHTML, false, true); 
    711711 
    712          //anchored bubble popup small contents no autosize closebox 
     712            //anchored bubble popup small contents no autosize closebox 
    713713            var ll = new OpenLayers.LonLat(-50,-20); 
    714714            popupClass = OpenLayers.Popup.FramedCloud; 
     
    717717 
    718718 
    719          //anchored bubble popup small contents autosize 
     719          //anchored bubble popup small contents autosize 
    720720            ll = new OpenLayers.LonLat(-40,-20); 
    721721            popupClass = AutoSizeFramedCloud; 
     
    723723            addMarker(ll, popupClass, popupContentHTML, false, true); 
    724724 
    725          //anchored bubble popup small contents autosize closebox 
     725          //anchored bubble popup small contents autosize closebox 
    726726            ll = new OpenLayers.LonLat(-35,-20); 
    727727            popupClass = AutoSizeFramedCloud; 
     
    730730 
    731731 
    732          //anchored bubble popup small contents autosize minsize 
     732          //anchored bubble popup small contents autosize minsize 
    733733            ll = new OpenLayers.LonLat(-25,-20); 
    734734            popupClass = AutoSizeFramedCloudMinSize; 
     
    736736            addMarker(ll, popupClass, popupContentHTML, false, true); 
    737737 
    738          //anchored bubble popup small contents autosize minsize closebox 
     738          //anchored bubble popup small contents autosize minsize closebox 
    739739            ll = new OpenLayers.LonLat(-20,-20); 
    740740            popupClass = AutoSizeFramedCloudMinSize; 
     
    743743 
    744744 
    745          //anchored bubble popup small contents autosize maxsize 
     745          //anchored bubble popup small contents autosize maxsize 
    746746            ll = new OpenLayers.LonLat(-10,-20); 
    747747            popupClass = AutoSizeFramedCloudMaxSize; 
     
    749749            addMarker(ll, popupClass, popupContentHTML, false, true); 
    750750 
    751          //anchored bubble popup small contents autosize maxsize closebox 
     751          //anchored bubble popup small contents autosize maxsize closebox 
    752752            ll = new OpenLayers.LonLat(-5,-20); 
    753753            popupClass = AutoSizeFramedCloudMaxSize; 
     
    756756 
    757757 
    758   &