[OpenLayers-Users] WMSCapabilities

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Wed Apr 15 13:41:49 EDT 2009


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

Steve.Toutant at inspq.qc.ca 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_
> __steve.toutant at inspq.qc.ca_ <mailto:steve.toutant at inspq.qc.ca>_
> __http://www.inspq.qc.ca_ <http://www.inspq.qc.ca/>
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl




More information about the Users mailing list