[OpenLayers-Users] WMSCapabilities

Christopher Schmidt crschmidt at metacarta.com
Wed Apr 15 14:18:11 EDT 2009


On Wed, Apr 15, 2009 at 07:41:49PM +0200, Bart van den Eijnden (OSGIS) wrote:
> 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.

And while you're in development, you can use
http://openlayers.org/dev/OpenLayers.js as a live version of trunk;
though you shouldn't ever ship with that URl, because it can break.

-- Chris

> 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
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list