Exemplo n.º 1
0
 /**
  * Draw a blip on the image.
  *
  * @param Blip $blip Blip to draw on the map.
  *
  * @return void
  */
 protected function drawBlip(Blip $blip)
 {
     $this->loader->addImage($blip->getImage())->then(function ($image) use($blip) {
         $this->drawImage($image, $blip->calculatePosition($this->centerPoint, $this->size, $this->zoom));
     });
 }