Property | Type | Description | |
---|---|---|---|
$geometry | GeoJson\Geometry\Geometry | ||
$id | mixed | ||
$properties | array | Properties are a JSON object, which corresponds to an associative array. | |
$type |
Method | Description | |
---|---|---|
__construct ( GeoJson\Geometry\Geometry $geometry = null, array $properties = [], mixed $id = null ) | Constructor. | |
getGeometry ( ) : GeoJson\Geometry\Geometry | Return the Geometry object for this Feature object. | |
getId ( ) : mixed | Return the identifier for this Feature object. | |
getProperties ( ) : array | Return the properties for this Feature object. | |
jsonSerialize ( ) |
public __construct ( GeoJson\Geometry\Geometry $geometry = null, array $properties = [], mixed $id = null ) | ||
$geometry | GeoJson\Geometry\Geometry | |
$properties | array | |
$id | mixed |
public getGeometry ( ) : GeoJson\Geometry\Geometry | ||
return | GeoJson\Geometry\Geometry |
public getProperties ( ) : array | ||
return | array |
protected Geometry,GeoJson\Geometry $geometry | ||
return | GeoJson\Geometry\Geometry |
protected array $properties | ||
return | array |