NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[thredds] Thredds/Godiva using deprecated/no longer available OpenLayer function calls

  • To: THREDDS community <thredds@xxxxxxxxxxxxxxxx>
  • Subject: [thredds] Thredds/Godiva using deprecated/no longer available OpenLayer function calls
  • From: Heiko Klein <Heiko.Klein@xxxxxx>
  • Date: Tue, 23 Jan 2018 10:10:12 +0100
Hi,

we recently upgraded to thredds 4.6.11 and all GetFeatureInfo requests
are no longer working. I tested thredds.ucar.edu, and that server has
the same problem (see screenshot): TypeError: OpenLayers.loadURL is not
a function

Checking the OpenLayers documentation, it seems that they deprecated
OpenLayers.loadURL:
http://dev.openlayers.org/apidocs/files/deprecated-js.html#OpenLayers.Ajax.OpenLayers.loadURL
A quickfix could be to load the Openlayers 'deprecated.js' in thredds.

Best regards,

Heiko Klein

-- 
Dr. Heiko Klein                   Norwegian Meteorological Institute
Tel. + 47 22 96 32 58             P.O. Box 43 Blindern
http://www.met.no                 0313 Oslo NORWAY

Attachment: threddsGetFeatureInfo.png
Description: PNG image

  • 2018 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: