egeloen / ivory-google-map

Google Map API v3 integration for PHP 5.6+.
MIT License
325 stars 185 forks source link

Marker cluster #272

Open fcojavierdomenech opened 6 years ago

fcojavierdomenech commented 6 years ago

If I use a MarkerCluster object:

use Ivory\GoogleMap\Overlay\MarkerClusterType;

$map->getOverlayManager()->getMarkerCluster()->setType(MarkerClusterType::MARKER_CLUSTERER);

How can I reference that overlay later in javascript for, for instance, toggle it? What is it variable name if it has?