mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-01-16 20:35:19 +01:00
Work on vectors integration.
This commit is contained in:
29
src/Netzmacht/Contao/Leaflet/Mapper/Vector/PolygonMapper.php
Normal file
29
src/Netzmacht/Contao/Leaflet/Mapper/Vector/PolygonMapper.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package dev
|
||||
* @author David Molineus <david.molineus@netzmacht.de>
|
||||
* @copyright 2015 netzmacht creative David Molineus
|
||||
* @license LGPL 3.0
|
||||
* @filesource
|
||||
*
|
||||
*/
|
||||
|
||||
namespace 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';
|
||||
}
|
||||
Reference in New Issue
Block a user