[OpenLayers-Trac] [OpenLayers] #393: allow for WMS version negotiation
OpenLayers
trac at openlayers.org
Wed Nov 8 16:52:04 EST 2006
#393: allow for WMS version negotiation
---------------------+------------------------------------------------------
Reporter: tschaub | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.3 Release
Component: general | Version:
Keywords: |
---------------------+------------------------------------------------------
WMS layers should use appropriate parameters for various versions.
This is as simple as
{{{
if(this.params['WMTVER'] == '1.0.0') {
OpenLayers.Util.applyDefaults(this.params, {REQUEST: 'Map',
FORMAT: 'jpeg'});
}
}}}
for version 1.0.0, and similar for 1.3.0 - but should really involve a
more clever DEFAULT_PARAMS. I'll submit a patch at some point.
--
Ticket URL: <http://trac.openlayers.org/ticket/393>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list