Skip to content

Commit

Permalink
Merge pull request openlayers#331 from ahocevar/331
Browse files Browse the repository at this point in the history
gutter and maxGetUrlLength broken. r=@elemoine
  • Loading branch information
ahocevar committed Mar 19, 2012
2 parents c637460 + f32bfa2 commit ed45ab6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/gutter.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ <h1 id="title">Gutter Example</h1>
<script type="text/javascript">
var map = new OpenLayers.Map('map');
var states15 = new OpenLayers.Layer.WMS( "States (15px gutter)",
"http://demo.opengeo.org/geoserver/wms",
{layers: 'topp:states'},
{gutter: 15});
"http://suite.opengeo.org/geoserver/wms",
{layers: 'usa:states'},
{gutter: 15, transitionEffect: "resize"});
var states = new OpenLayers.Layer.WMS( "States (no gutter)",
"http://demo.opengeo.org/geoserver/wms",
{layers: 'topp:states'});
"http://suite.opengeo.org/geoserver/wms",
{layers: 'usa:states'});
map.addLayers([states, states15]);
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.setCenter(new OpenLayers.LonLat(-71.848, 42.2), 5);
Expand Down
2 changes: 2 additions & 0 deletions lib/OpenLayers/Tile/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ OpenLayers.Tile.Image = OpenLayers.Class(OpenLayers.Tile, {
style.width = "100%";
}
if (this.frame) {
style.width = "100%";
style.height = "100%";
this.frame.appendChild(this.imgDiv);
}
}
Expand Down

0 comments on commit ed45ab6

Please sign in to comment.