PHP code example of edofre / yii2-marker-clusterer
1. Go to this page and download the library: Download edofre/yii2-marker-clusterer library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
edofre / yii2-marker-clusterer example snippets
/* @var $this yii\web\View */
use dosamigos\google\maps\LatLng;
use dosamigos\google\maps\overlays\InfoWindow;
// edofre objects instead of dosamigos
use edofre\markerclusterer\Map;
use edofre\markerclusterer\Marker;
$this->title = 'Maps Clusterer';