[OpenLayers-Users] Problems using Layer.WMS.Post
Andreas Hocevar
ahocevar at opengeo.org
Thu Feb 18 04:11:20 EST 2010
On 2010-02-18 10:00, David Alda Fernandez de Lezea wrote:
> Thanks for your help. What does trunk mean??
>
Trunk is the development branch in Subversion, our code versioning
system. The nightly builds are built off this version.
Layer.WMS.Post was added *after* release 2.8, which is the latest
official release. So you have to use a more recent version, preferably a
nightly build.
> Whenever a change is made, another build is also made? And is available as one file only?? I'm a bit confused withs names (trunk, nightly build, etc)
>
Nightly builds, as the name says, are created every night. The code is
minified and contains the whole library in one file. In addition, you
only nead the theme and img folders.
> If I create my own control, how can I add the control to this .js file??
>
You can either use the python based build tool in the build folder of
OpenLayers, or any javascript minifaction tool you prefer. But you can
also just create a separate .js file for your custom control and add it
in your html page, after OpenLayers.js.
Regards,
Andreas.
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list