public static function Openlayers::getGeometryTypes in Openlayers 7.3
The list of geometries available.
Return value
string[] The list of geometries.
5 calls to Openlayers::getGeometryTypes()
- Circle::optionsForm in src/
Plugin/ Style/ Circle/ Circle.php - @TODO What is this return? If it is the form, why is form by reference?
- Circle::optionsFormSubmit in src/
Plugin/ Style/ Circle/ Circle.php - Submit callback for the options form.
- Random::optionsForm in modules/
openlayers_library/ src/ Plugin/ Source/ Random/ Random.php - @TODO What is this return? If it is the form, why is form by reference?
- RegularShape::optionsForm in src/
Plugin/ Style/ RegularShape/ RegularShape.php - @TODO What is this return? If it is the form, why is form by reference?
- RegularShape::optionsFormSubmit in src/
Plugin/ Style/ RegularShape/ RegularShape.php - Submit callback for the options form.
File
- src/
Openlayers.php, line 383 - Contains Openlayers.
Class
- Openlayers
- Class Openlayers.
Namespace
Drupal\openlayersCode
public static function getGeometryTypes() {
return array(
'Point' => t('Point'),
'MultiPoint' => t('MultiPoint'),
'LineString' => t('LineString'),
'LinearRing' => t('LinearRing'),
'MultiLineString' => t('MultiLineString'),
'Polygon' => t('Polygon'),
'MultiPolygon' => t('MultiPolygon'),
'GeometryCollection' => t('GeometryCollection'),
'Circle' => t('Circle'),
);
}