[OpenLayers-Users] Updating OL2 App js error: : OpenLayers.Layer.GML is not a function

Bart van den Eijnden bartvde at boundlessgeo.com
Fri Dec 4 04:51:15 PST 2015


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/>
bartvde at boundlessgeo.com <mailto:bartvde at 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.kendall at 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
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20151204/4bd78d6b/attachment.html>


More information about the Users mailing list