You are here

interface GeoPHPInterface in Openlayers 8.4

Provides a GeoPHPInterface.

Hierarchy

Expanded class hierarchy of GeoPHPInterface

All classes that implement GeoPHPInterface

1 file declares its use of GeoPHPInterface
OpenlayersService.php in src/OpenlayersService.php

File

src/GeoPHP/GeoPHPInterface.php, line 8

Namespace

Drupal\openlayers\GeoPHP
View source
interface GeoPHPInterface {

  /**
   * Retrieves the GeoPHP library current version.
   *
   * @return string
   *   The version value.
   */
  public function version();

  /**
   * Loads a geometry object given some parameters.
   *
   * @param mixed|null $data
   *   The data to load.
   * @param string $type
   *   The string type.
   *
   * @return \Geometry|null
   *   The geometry object
   */
  public function load($data = NULL, $type = NULL);

  /**
   * Get the Adapter Map.
   *
   * @return mixed
   *   The Adapter Map.
   */
  public function getAdapterMap();

}

Members

Namesort descending Modifiers Type Description Overrides
GeoPHPInterface::getAdapterMap public function Get the Adapter Map. 1
GeoPHPInterface::load public function Loads a geometry object given some parameters. 1
GeoPHPInterface::version public function Retrieves the GeoPHP library current version. 1