You compressed how--minifying the js file or gzipping it? Alex
On Wed, Aug 27, 2008 at 6:01 PM, Linda Rawson <[EMAIL PROTECTED]> wrote: > I have been on another project so I am just getting around to compressing my > version of openlayers. So I thought I would try the stable version first > before adding my stuff into it. > > Here are my steps: > > 1. Grabbed latest stable build. > 2. Switched to build directory. > 3. python ./build.py full.cfg > 4. Copied Openlayers.js (466 KB) to .. (1 directory above lib, same level > as build, img, theme, tools) > 5. Moved SpericalMercator.html example to this directory also. > 6. Changed to point to > > <script src="OpenLayers.js"></script> > > 7. Run and get the following error: > Microsoft JScript runtime error: 'OpenLayers.Control' is null or not an > object. > > I also get this when I use what I used in 2.5 to compress and it does not > work in 2.6. > > Does anybody have any idea what to do with this error? I would really like > to compress Openlayers. > > Thanks! > -- > Linda Rawson > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
