staticmaplite/src/Element/Marker/Marker.php

23 lines
425 B
PHP

<?php
namespace StaticMapLite\Element\Marker;
class Marker extends AbstractMarker
{
protected $markerType;
public function __construct(string $markerType, float $latitude, float $longitude)
{
$this->markerType = $markerType;
$this->latitude = $latitude;
$this->longitude = $longitude;
}
public function getMarkerType(): string
{
return $this->markerType;
}
}