<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
No, I'm just an idiot who still hasn't learned the lesson of going to
sleep when it's actually his bedtime.&nbsp; I had actually downloaded the
distribution and was looking for code with something like "find
OpenLayers-2.4-rc3/ | xargs grep Icon | grep new" which&nbsp; was yielding
bits of good code from lib/* in between masses of compressed code from
the OpenLayers.js files.&nbsp; <br>
<br>
Hasty as usual, so I hope everyone will accept my apology.&nbsp; I can only
hope to redeem myself by noting that I'll be publishing what I'm
working on as an example of how to subclass the WFS and do something
app-specific, in this case make a WFS layer for geocoded pictures,
where the icon is the picture itself.<br>
<br>
thanks, and sorry again,<br>
mike<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a> wrote:
<blockquote cite="mid4EE429F44B.0EB0FF0DTFSHLBFZ@metacarta.com"
 type="cite">
  <pre wrap="">On Mon, May 14, 2007 at 10:05:15PM -0700, mfrumin wrote:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">it is often useful to look at the code in the libraries to figure out how to
      </pre>
    </blockquote>
    <pre wrap="">do do stuff.  unfortunately, it lacks any sane whitespacing scheme, and is
impossible to peruse.  eg (from
<a class="moz-txt-link-freetext" href="http://openlayers.org/api/2.4-rc3/OpenLayers.js">http://openlayers.org/api/2.4-rc3/OpenLayers.js</a> or the OpenLayers.js that
comes in the download):
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The OpenLayers code is a set of 98 files, in the 'lib' directory of the
distribution. What you are looking at is the 'compressed' version of the
code -- due to the way browsers work, downloading those 98 files will
take in excess of 60 seconds. Compressing it into one file saves those
60 seconds, making it more like 2 or 3.

If you make a modification to the code in the 'lib' directory, then run
the './build.py' script in the build directory, you will get the
'compressed' version you are looking at, suitable for deployment, rather
than for readability. If you wish to modify code, you should *not* touch
the compressed code, and instead edit what is in lib/ and run
./build.py. (The functionality of this script is described in
<a class="moz-txt-link-freetext" href="http://trac.openlayers.org/wiki/Profiles">http://trac.openlayers.org/wiki/Profiles</a> .) Note that it is also
possible to use the non-compressed code in your page, useful for
debugging: just include lib/OpenLayers.js in your code directly.

  </pre>
  <blockquote type="cite">
    <pre wrap="">does that look helpful to you?  clean your stuff up, then maybe when we have
bugs we can possibly help report where they might be coming from.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It's impolite to attack the project without taking the time to
understand what's happening. I understand that our documentation is
weak, but we do have this covered relatively well, and I've never had
anyone ask this particular question before, so I'm not sure how we could
have made it easier for you. Where should we link this description from
so that you would have found it?

Regards,
-- Christopher Schmidt
MetaCarta
  </pre>
</blockquote>
</body>
</html>