Select to view content in your preferred language

WMS and map extent issue with browser size

560
0
11-17-2011 03:58 AM
GlenReid
Deactivated User
I have a geographic mapping application that has an initial extent of the world (the wrapAround180 is set to false).  A WMS layer is loaded (from an AGS 10 SP2 service with an SLD file).  The layer loads successfully against an ESRI tiled service when the browser is a "normal" size (e.g. 1024 x 768) -- the BBOX in my GetMap request:

&BBOX=-178.59375,-110.390625,178.59375,110.390625


When the browser is stretched vertically (e.g. 1024 x 1027), the WMS layer still draws fine even though the latitude values are high/low -- the BBOX:

&BBOX=-178.59375,-155.91796875,178.59375,155.91796875


When the browser size is slightly stretched horizontally (e.g. 1034 x 768), the image never draws as the longitude values exceed the -180/180 extents -- the BBOX:

&BBOX=179.6484375,-110.390625,-179.6484375,110.390625


Also, my FB console continues repeat this error:

[SWF] /webservices/cdo/isdsummaries/MapServer/WMSServer - 0 bytes after decompression


If a user opens the application in an "odd" sized browser, the WMS layer may not draw.

Any thoughts on this?

Thanks,
Glen
Tags (2)
0 Kudos
0 Replies