[OpenLayers-Users] migrate from 2.4 to 2.6 and select

Wendell Turner wendell at enflight.com
Fri May 23 17:44:51 EDT 2008


The javascript that gdal2tiles.py generates references
www.openlayers.org/api/2.4/OpenLayers.js, however, that
doesn't appear to have SelectFeature.  Was SelectFeature
added after 2.4?

If I change the 2.4 to 2.6 it produces this error:
  Error: this.projection.getUnits is not a function
  Source File: http://www.openlayers.org/api/2.6/OpenLayers.js Line: 772

If I change it to reference my own copy from the
distribution it gets this error:
   Error: this.projection.getUnits is not a function
   Source File: http://delta.rho.net/open/lib/OpenLayers/Layer.js Line: 489

What do I need to do to upgrade from 2.4 to 2.6 (so I can
use SelectFeature)?

Thanks,

Wendell




More information about the Users mailing list