forked from Snck3rs/contao-leaflet-maps
Fix code style.
This commit is contained in:
@@ -11,16 +11,24 @@
|
||||
|
||||
namespace Netzmacht\Contao\Leaflet\Mapper;
|
||||
|
||||
use Netzmacht\LeafletPHP\Definition\GeoJson\GeoJsonFeature;
|
||||
use Netzmacht\LeafletPHP\Definition\Type\LatLngBounds;
|
||||
|
||||
/**
|
||||
* Interface GeoJsonMapper describes mappers which can convert their definition to a GeoJSON representation.
|
||||
*
|
||||
* @package Netzmacht\Contao\Leaflet\Mapper
|
||||
*/
|
||||
interface GeoJsonMapper
|
||||
{
|
||||
/**
|
||||
* @param \Model $model
|
||||
* @param DefinitionMapper $mapper
|
||||
* @param LatLngBounds $bounds
|
||||
* Hanle the GeoJSON creation.
|
||||
*
|
||||
* @return mixed
|
||||
* @param \Model $model The model being mapped.
|
||||
* @param DefinitionMapper $mapper The definition mapper.
|
||||
* @param LatLngBounds $bounds The requested bounds.
|
||||
*
|
||||
* @return GeoJsonFeature|null
|
||||
*/
|
||||
public function handleGeoJson(\Model $model, DefinitionMapper $mapper, LatLngBounds $bounds = null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user