forked from Snck3rs/contao-leaflet-maps
Rename doBuild to build and introduce getClassName method.
This commit is contained in:
@@ -35,13 +35,13 @@ class PolylineMapper extends AbstractVectorMapper
|
||||
protected static $type = 'polyline';
|
||||
|
||||
|
||||
protected function doBuild(
|
||||
protected function build(
|
||||
Definition $definition,
|
||||
\Model $model,
|
||||
DefinitionMapper $builder,
|
||||
LatLngBounds $bounds = null
|
||||
) {
|
||||
parent::doBuild($definition, $model, $builder, $bounds);
|
||||
parent::build($definition, $model, $builder, $bounds);
|
||||
|
||||
if ($definition instanceof Polyline) {
|
||||
array_map(
|
||||
|
||||
Reference in New Issue
Block a user