diff --git a/openlayers.module b/openlayers.module index 9c2a07d..257087d 100644 --- a/openlayers.module +++ b/openlayers.module @@ -1031,6 +1031,9 @@ function openlayers_get_projection($authority, $code) { function openlayers_get_projection_by_identifier($identifier) { ctools_include('export'); + //Some modules such as geofield only specify the projection number - Default authority to EPSG: if unspecified. + if (is_numeric($identifier)) { $identifier = "EPSG:".$identifier; } + $records = ctools_export_load_object('openlayers_projections', 'names', array($identifier)); if (empty($records)) {