[OpenLayers-Dev] Debugging OpenLayers: a script not minified?
sonxurxo at gmail.com
Mon Feb 7 11:49:38 EST 2011
Yes it is, absolutely. If you look at Firebug (or Developer's options window
in Chrome) you'll find a lot of requests when linking lib/OpenLayers.js
file, one per file included. Using the minified one it's just one request
(plus Css and/or images).
Xurxo Méndez Pérez
2011/2/7 Andrés Maneiro <amaneiro at icarto.es>
> On 07/02/11 17:30, Xurxo Mendez wrote:
>> or the tarball, but your html code should link to
>> $OL_HOME/lib/OpenLayers.js, rather than $OL_HOME/OpenLayers.js. This
>> file is a kind of loader script that loads (take a look at that file)
>> the others. You might want to see how downloaded examples (at
>> $OL_HOME/examples) include the script.
> That was definitively helpful!
> So, just one more question now: is it recommended for production
> environments to link $OL_HOME/OpenLayers.js instead of
> By the way, thanks for your quick and very good feedback.
> Dev mailing list
> Dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev