[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
Hi Andrés,
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
http://trac.osgeo.org/openlayers/wiki/Profiles
Regards,
Xavier Mamano
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
> $OL_HOME/lib/OpenLayers.js?
>
> By the way, thanks for your quick and very good feedback.
>
> best,
> amaneiro
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
>
--
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
mailing list