Use an OpenLayers.Layer.Vector with a GML format instead. Best regards, Bart
Bart van den Eijnden Front End Software Engineer | Boundless <http://boundlessgeo.com/> bart...@boundlessgeo.com <mailto:bart...@boundlessgeo.com> 1-877-673-6436 <tel:917-460-7207> @boundlessgeo <http://twitter.com/boundlessgeo/> <http://boundlessgeo.com/> > On 04 Dec 2015, at 13:49, Nicholas Efremov-Kendall <n.e.kend...@gmail.com> > wrote: > > Hi everyone, > > I'm going back to an app I build a while ago with OL2. The app is broken and > I get the error Uncaught TypeError: OpenLayers.Layer.GML is not a function. > > The app was a simple one, which wrote a gml layer out of a MySQL database. > > Any ides how to fix this? > > Thanks in advance, > N > _______________________________________________ > Users mailing list > us...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users