[OpenLayers-Users] Changing the Layer displayed by a WMS

Christopher Schmidt crschmidt at crschmidt.net
Mon Jul 24 06:30:28 CDT 2006


On Mon, Jul 24, 2006 at 08:16:22AM +0100, jdb at mail.nerc-essc.ac.uk wrote:
> Dear Christopher,
> 
> The changeParams() function is exactly what I need.  However, this 
> function does
> not seem to be available in either the 1.0 release of OpenLayers
> (http://openlayers.org/download/OpenLayers-1.0.tar.gz) or the latest version
> that's hosted on the web (http://openlayers.org/api/OpenLayers.js).  The
> function *does* appear if I link to the version of OpenLayers.js that is 
> used
> in the examples section of the website
> (http://openlayers.org/dev/lib/OpenLayers.js).
> 
> Is the changeParams() function still somewhat experimental?  (Seems to 
> work for
> me anyway!)

Jon -- 

Sorry, I'm so used to building out of SVN that I've forgotten how
feature-different SVN is from the release. Indeed, changeParams is not
in any released version of OpenLayers, only in subversion. The
/dev/lib/OpenLayers.js will always be a subversion version of
OpenLayers, but it is a multi-file, rather than single-file, version.

Schuyler and I have been lamenting the lack of a new release for a
couple weeks now, and I think that this email is evidence that we need
to move more seriously on this. In the meantime, you can use the
/dev/lib/OpenLayers.js file, and we will send an announcement to the
list when we do so so that you have a non-development version to use.
Alternatively, in the meantime, you can build your own single file
version, which I recommend if your site is going to be used for anything
other than testing -- the non-single file version does need to load a
lot of files in order to work, so it does take a noticably long time to
get started the first time you visit the page.

Sorry for the inconvenience, and we'll work on getting a new release out
ASAP.

-- 
Christopher Schmidt
Web Developer


More information about the Users mailing list