for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (c) 2013-2015 2amigOS! Consulting Group LLC
* @link http://2amigos.us
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
*/
namespace dosamigos\leaflet\layers;
use dosamigos\leaflet\types\LatLng;
trait LatLngTrait
{
* @var \dosamigos\leaflet\types\LatLng holds the latitude and longitude values.
private $_latLon;
* @param \dosamigos\leaflet\types\LatLng $latLon the position to render the marker
public function setLatLng(LatLng $latLon)
$this->_latLon = $latLon;
}
* @return \dosamigos\leaflet\types\LatLng
public function getLatLng()
return $this->_latLon;