You are here

public static property GeofieldWidget::$geoPhpTypes in farmOS 2.x

Supported GeoPHP file types.

GeoPHP type keyed by file extension.

Type: string[]

File

modules/core/map/src/Plugin/Field/FieldWidget/GeofieldWidget.php, line 47

Class

GeofieldWidget
Plugin implementation of the map 'geofield' widget.

Namespace

Drupal\farm_map\Plugin\Field\FieldWidget

Code

public static $geoPhpTypes = [
  'geojson' => 'geojson',
  'gpx' => 'gpx',
  'kml' => 'kml',
  'kmz' => 'kml',
  'wkb' => 'wkb',
  'wkt' => 'wkt',
];