[OpenLayers-Dev] Re: Debugging OpenLayers: a script not minified?
Xavier Mamano (jorix)
xavier.mamano at gmail.com
Mon Feb 7 18:16:12 EST 2011
Yes, of course. I advise you to create your own profile "cfg" to assemble
the code, you can reduce more than 50% the size of OpenLayers.js, see
Andrés Maneiro-2 wrote:
> 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
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Debugging-OpenLayers-a-script-not-minified-tp6000818p6002236.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev