src/Helper/Overlays/MarkerCluster/DefaultMarkerClusterHelper.php
protected function renderMarker(Marker $marker, Map $map)
    {
        return sprintf(
            '%s.markers.%s = %s',
            $this->getJsContainerName($map),
            $marker->getJavascriptVariable(),
            $this->markerHelper->render($marker, $map)
        );
    }
protected function renderMarker(Marker $marker, Map $map)
    {
        return sprintf(
            '%s.markers.%s = %s',
            $this->getJsContainerName($map),
            $marker->getJavascriptVariable(),
            $this->markerHelper->render($marker, $map)
        );
    }
Renders a marker with the js map container.

@param \Ivory\GoogleMap\Overlays\Marker $marker The marker.
@param \Ivory\GoogleMap\Map             $map    The map.

@return string The JS output.