staticmaplite/src/Element/Marker.php

33 lines
618 B
PHP
Raw Normal View History

2017-05-26 15:11:00 +00:00
<?php
namespace StaticMapLite\Element;
class Marker
{
protected $latitude;
protected $longitude;
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;
}
public function getLatitude(): float
{
return $this->latitude;
}
public function getLongitude(): float
{
return $this->longitude;
}
}