It doesn&#39;t work!<br><br>All js errors are now gone and I have library.cfg as below, the map pans around when I click and drag and I can move my markers but the pan zoom bar and layer switcher controls are not visible.&nbsp; They are in the DOM, I just can&#39;t work out why I can&#39;t see them, with the full code they work fine.
<br><br>Here&#39;s my current library.cfg<br><br>[first]<br>OpenLayers/SingleFile.js<br>OpenLayers.js<br>OpenLayers/BaseTypes.js<br>OpenLayers/Util.js<br>Rico/Corner.js<br><br>[last]<br><br>[include]<br>OpenLayers/Marker.js
<br>OpenLayers/Layer/Markers.js<br>OpenLayers/Icon.js<br>OpenLayers/Control/MouseDefaults.js<br>OpenLayers/Control/LayerSwitcher.js<br>OpenLayers/Control/PanZoomBar.js<br>OpenLayers/Events.js<br>OpenLayers/Map.js<br>OpenLayers/Layer.js
<br>OpenLayers/Layer/Grid.js<br>OpenLayers/Layer/HTTPRequest.js<br>OpenLayers/Layer/WMS.js<br>OpenLayers/Layer/WMS/Untiled.js<br>OpenLayers/Tile.js<br>OpenLayers/Tile/Image.js<br><br>[exclude]<br><br><div><span class="gmail_quote">
On 8/10/07, <b class="gmail_sendername">Tom (JDi Solutions)</b> &lt;<a href="mailto:tom.dean@jdi-solutions.co.uk">tom.dean@jdi-solutions.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ah stunning, thanks very much, it&#39;s down to 89K so if I also get the webserver to compress it there&#39;ll hardly be anything left.&nbsp; Now I just have to see if it works!<br><br>thanks.<div><span class="e" id="q_1144ff5cc929086c_1">
<br><br><div><span class="gmail_quote">
On 8/10/07, <b class="gmail_sendername">Christopher Schmidt</b> &lt;<a href="mailto:crschmidt@metacarta.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">crschmidt@metacarta.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Aug 09, 2007 at 10:30:23AM +0100, Tom (JDi Solutions) wrote:<br>&gt; Hi all,<br>&gt;<br>&gt; I&#39;m currently experimenting with compressing OpenLayers and have been<br>&gt; running build.py to create a compressed version of the library, however the
<br>&gt; smallest version I seem to be able to make is 220K and from the output at<br>&gt; the command line it seems to be including loads more stuff than I actually<br>&gt; need despite my library.cfg file looking like this:
<br>&gt;<br>&gt;<br>&gt; I&#39;m assuming I may actually need Rico, SingleFile, OpenLayers and<br>&gt; BaseTypes?&nbsp;&nbsp;But is it possible to get rid of the likes of virtualearth,<br>&gt; yahoo and all that stuff?&nbsp;&nbsp;All I want in this version is WMS, some mouse
<br>&gt; controls and point and I want the file as small as possible.&nbsp;&nbsp;220K just<br>&gt; seems like more than it ought to be?<br>&gt;<br>&gt; Do I need to specifically include all the stuff I don&#39;t want in the exclude
<br>&gt; list or are things included as dependencies?<br><br><a href="http://trac.openlayers.org/wiki/Profiles" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://trac.openlayers.org/wiki/Profiles
</a><br><br>&quot;If you wish to create a build where you must specify each file you wish
<br>to include, you should then add files to an &#39;[include]&#39; stanza, as<br>lite.cfg does. If you wish to create a build where all files in the lib/<br>directory are included by default, and you wish to *exclude* certain
<br>files, you can do this by putting filenames under the [exclude] header.<br>Look at the files library.cfg and lite.cfg in the build/ directory for<br>examples of this behavior.&quot;<br><br>Dependancies are/should be added automatically, though there are many
<br>files that are missing dependancies that you may have to add manually.<br>missing dependancies can be filed as bugs.<br><br>Regards,<br>--<br>Christopher Schmidt<br>MetaCarta<br></blockquote></div><br>
</span></div></blockquote></div><br>