[OpenLayers-Trac] Re: [OpenLayers] #3376: using WMS.Post transparency is not possible

OpenLayers trac-20090302 at openlayers.org
Tue Jun 21 05:25:41 EDT 2011


#3376: using WMS.Post transparency is not possible
------------------------+---------------------------------------------------
  Reporter:  h0nIg      |       Owner:  euzuro  
      Type:  bug        |      Status:  reopened
  Priority:  major      |   Milestone:          
 Component:  Layer.WMS  |     Version:  2.10    
Resolution:             |    Keywords:          
     State:             |  
------------------------+---------------------------------------------------
Changes (by h0nIg):

  * status:  closed => reopened
  * resolution:  worksforme =>


Comment:

 > map.addLayer(new OpenLayers.Layer.WMS("Overlay",
 >     "http://suite.opengeo.org/geoserver/wms",
 >     {layers: "usa:states", transparent: true},
 >     {maxGetUrlLength: 0}))
 > map.zoomToMaxExtent();

 should be
 {{{
 tileOptions: {
         maxGetUrlLength: 0
 }
 }}}
 instead of "maxGetUrlLength: 0" in the options, right?

 > One thing that catches my eye is that several of your mapOptions are
 invalid, especially the maxExtent. You cannot transform (-180, -90, 180,
 90) to EPSG:900913, because the latitudes are infinite.
 doesn't mater, i tried with and without the invalid maxExtent
 > Also note that Layer.WMS.Post is deprecated. The above snippet is for
 2.11-rc1.
 it doesn't work with maxGetUrlLength and 2.11-rc1

 please see get-html.png and post-html.png (made with firebug)

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3376#comment:8>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list