Skip to content

Instantly share code, notes, and snippets.

@bramstroker
Created March 20, 2013 12:42
Show Gist options
  • Save bramstroker/5204351 to your computer and use it in GitHub Desktop.
Save bramstroker/5204351 to your computer and use it in GitHub Desktop.
<?php
/**
* PoiProviderInterface
*
* @category AcsiMap
* @package AcsiMap\Poi
* @copyright 2013 ACSI Holding bv (http://www.acsi.eu)
* @version SVN: $Id$
*/
namespace AcsiMap\Poi;
use AcsiGeo\Navigator\LatLongBounds;
interface PoiProviderInterface
{
/**
* Get Poi's to display on map
*
* @param \AcsiGeo\Navigator\LatLongBounds $bounds
* @param int $zoom
* @param string|null $solrQuery
* @return Poi[]
*/
public function getPois(LatLongBounds $bounds, $zoom, $solrQuery = null);
/**
* Get html for the balloon popup
*
* @param string $reference
* @return string
*/
public function getBalloon($reference);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment