Files
contao-leaflet-maps/src/Netzmacht/Contao/Leaflet/Frontend/MapElement.php

43 lines
812 B
PHP
Raw Normal View History

2014-12-29 12:17:40 +01:00
<?php
/**
* @package dev
* @author David Molineus <david.molineus@netzmacht.de>
* @copyright 2014 netzmacht creative David Molineus
* @license LGPL 3.0
* @filesource
*
*/
namespace Netzmacht\Contao\Leaflet\Frontend;
2014-12-29 12:17:40 +01:00
use ContentElement;
2015-01-12 19:03:29 +01:00
use Netzmacht\Contao\DevTools\ServiceContainerTrait;
use Netzmacht\Contao\Leaflet\MapService;
2014-12-29 12:17:40 +01:00
/**
2015-01-12 19:03:29 +01:00
* The content element for the leaflet map.
*
2014-12-29 12:17:40 +01:00
* @property int leaflet_map
*/
class MapElement extends \ContentElement
2014-12-29 12:17:40 +01:00
{
2015-01-12 19:03:29 +01:00
use ServiceContainerTrait;
use HybridTrait;
2014-12-29 12:17:40 +01:00
/**
* Template name.
*
* @var string
*/
protected $strTemplate = 'ce_leaflet_map';
/**
2015-01-12 19:03:29 +01:00
* {@inheritdoc}
2014-12-29 12:17:40 +01:00
*/
public function __construct($objElement, $strColumn = 'main')
{
2015-01-12 19:03:29 +01:00
$this->construct($objElement, $strColumn);
2014-12-29 12:17:40 +01:00
}
}