2017-05-26 15:11:00 +00:00
|
|
|
<?php
|
|
|
|
|
2017-05-26 15:12:11 +00:00
|
|
|
namespace StaticMapLite\Element\Marker;
|
2017-05-26 15:11:00 +00:00
|
|
|
|
2017-09-29 14:20:00 +00:00
|
|
|
class Marker extends AbstractMarker
|
2017-05-26 15:11:00 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|