On Sunday, December 5, 2010, Puneet Kishor <[email protected]> wrote:
> I am trying to create a custom build of OL 2.10. My config file looks like so
>
> ----
> [first]
> OpenLayers/SingleFile.js
> OpenLayers.js
> OpenLayers/BaseTypes.js
> OpenLayers/BaseTypes/Class.js
> OpenLayers/BaseTypes/LonLat.js
> OpenLayers/Util.js
>
> [last]
>
> [include]
> OpenLayers/Control/ArgParser.js
> OpenLayers/Control/Attribution.js
> OpenLayers/Control/Graticule.js
> OpenLayers/Control/LayerSwitcher.js
> OpenLayers/Control/Measure.js
> OpenLayers/Control/MousePosition.js
> OpenLayers/Control/Navigation.js
> OpenLayers/Control/PanZoom.js
> OpenLayers/Control/Scale.js
>
> OpenLayers/Layer/Google.js
> OpenLayers/Layer/Image.js
> OpenLayers/Layer/Vector.js
> OpenLayers/Layer/WMS.js
> OpenLayers/Layer/WMS/Untiled.js
>
> OpenLayers/Map.js
> OpenLayers/Projection.js
> OpenLayers/Renderer/Canvas.js
> OpenLayers/Rule.js
> OpenLayers/StyleMap.js
>
> OpenLayers/Symbolizer.js
> OpenLayers/Symbolizer/Text.js
>
> [exclude]
> ----
>
> I am getting the following errors that I am unable to debug
>
> OpenLayers.Util is undefined
>     OpenLayers.Util.extend(extended,parent);}...
>
> OpenLayers.Projection is not a constructor
>     projection: new OpenLayers.Projection("EPSG:90091"),...
>
> Any suggestions?
>
> Thanks in advance.

This is very strange. Try to make your page load and OpenLayers.js
only, with no other evaluated JavaScript code. And then try
OpenLayers.Util.extend({}, {}) in the FireBug console. If it works
then your problem isn't related to your OpenLayers build.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to