You are here

function openlayers_projection_from_record in Openlayers 7.2

Parameters

stdClass $record Object as returned by ctools_export_crud_load for type openlayers_projections:

Return value

openlayers_projection

2 calls to openlayers_projection_from_record()
openlayers_get_all_projections in ./openlayers.module
openlayers_get_projection_by_identifier in ./openlayers.module

File

./openlayers.module, line 1033
Main OpenLayers API File

Code

function openlayers_projection_from_record($record) {
  return new openlayers_projection($record->identifier, $record->definition, $record->projectedextentleft, $record->projectedextentbottom, $record->projectedextentright, $record->projectedextenttop);
}