Hi Steve,

this was not part of OpenLayers 2.7 which you are accessing there (API 
is last stable version so 2.7 currently).

Instead you should use trunk which will become OpenLayers 2.8 soon.

Best regards,
Bart

[email protected] wrote:
>
> Hi,
> I got this error
> "OpenLayers.Format.WMSCapabilities is not a constructor"
>
> when trying this
> var capabilitiesFormat = new OpenLayers.Format.WMSCapabilities();
>
> I included this script in my code
> <script src="http://openlayers.org/api/OpenLayers.js";></script>
>
> Should I include something else?
> Thanks
> Steve
>
>
> /Steve Toutant, M. Sc./
> Analyste en géomatique
> Secteur environnement
> Direction des risques biologiques, environnementaux et occupationnels
> Institut national de santé publique du Québec
> 945, avenue Wolfe
> Québec, Qc G1V 5B3
>
> Tél.: (418) 650-5115 #5281
> Fax.: (418) 654-3144_
> [email protected]_ <mailto:[email protected]>_
> __http://www.inspq.qc.ca_ <http://www.inspq.qc.ca/>
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
[email protected]
http://www.osgis.nl

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to