mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-01-16 12:25:17 +01:00
35 lines
717 B
PHP
35 lines
717 B
PHP
<?php
|
|
|
|
/**
|
|
* @package contao-leaflet-maps
|
|
* @author David Molineus <david.molineus@netzmacht.de>
|
|
* @copyright 2014-2016 netzmacht David Molineus
|
|
* @license LGPL 3.0
|
|
* @filesource
|
|
*
|
|
*/
|
|
|
|
namespace Netzmacht\Contao\Leaflet\Mapper\Vector;
|
|
|
|
/**
|
|
* Class PolygonMapper maps the database model to the polygon definition.
|
|
*
|
|
* @package Netzmacht\Contao\Leaflet\Mapper\Vector
|
|
*/
|
|
class PolygonMapper extends PolylineMapper
|
|
{
|
|
/**
|
|
* Class of the definition being created.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected static $definitionClass = 'Netzmacht\LeafletPHP\Definition\Vector\Polygon';
|
|
|
|
/**
|
|
* Layer type.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected static $type = 'polygon';
|
|
}
|