public function GeoPHPInterface::load in Geofield 8
Loads a geometry object given some parameters.
Parameters
mixed|null $data: The data to load.
string $type: The string type.
Return value
\Geometry|null The geometry object
1 method overrides GeoPHPInterface::load()
- GeoPHPWrapper::load in src/
GeoPHP/ GeoPHPWrapper.php - Loads a geometry object given some parameters.
File
- src/
GeoPHP/ GeoPHPInterface.php, line 29
Class
- GeoPHPInterface
- Provides a GeoPHPInterface.
Namespace
Drupal\geofield\GeoPHPCode
public function load($data = NULL, $type = NULL);