Discussion:
[Users] GeoExt Uncaught ReferenceError (form.js)
ELKHATTABI Imane
2015-05-12 23:37:19 UTC
Permalink
Hello everyone,

I'm using GeoExt and Openlayers to visualise basic wms layer on a map.

With Firebug , It shows error : "Uncaught ReferenceError: OpenLayers is not
defined " , in the file geoext/lib/GeoExt/widget/form.js

The error comes from this line:

GeoExt.form.toFilter.FILTER_MAP = {
"eq": OpenLayers.Filter.Comparison.EQUAL_TO,



Any hint or help would be highly apreciated.
Thanks in advance
Phil Scadden
2015-05-13 02:41:35 UTC
Permalink
Post by ELKHATTABI Imane
With Firebug , It shows error : "Uncaught ReferenceError: OpenLayers
is not defined " , in the file geoext/lib/GeoExt/widget/form.js
GeoExt.form.toFilter.FILTER_MAP = {
"eq": OpenLayers.Filter.Comparison.EQUAL_TO,
It means OpenLayers has not been loaded when this call is made. I would
expect firebug to show up 404 errors in the Net panel and in console.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

Loading...