mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-06 14:58:42 +01:00
Rework element id generation.
This commit is contained in:
@@ -30,20 +30,9 @@ class AbstractVectorMapper extends AbstractTypeMapper
|
||||
*/
|
||||
protected static $modelClass = 'Netzmacht\Contao\Leaflet\Model\VectorModel';
|
||||
|
||||
protected function initialize()
|
||||
{
|
||||
parent::initialize();
|
||||
|
||||
// $this
|
||||
// ->addOptions('stroke', 'weight', 'opacity', 'clickable', 'className')
|
||||
// ->addConditionalOption('color')
|
||||
// ->addConditionalOption('lineCap')
|
||||
// ->addConditionalOption('lineJoin')
|
||||
// ->addConditionalOption('dashArray')
|
||||
// ->addConditionalOptions('fill', array('fill', 'fillColor', 'fillOpacity'))
|
||||
// ;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function build(
|
||||
Definition $definition,
|
||||
\Model $model,
|
||||
|
||||
Reference in New Issue
Block a user