protected function computeMarkerImages(Map $map)
    {
        $markerImages = array();

        foreach ($map->getMarkers() as $marker) {
            if ($marker->hasIcon() && !in_array($marker->getIcon(), $markerImages)) {
                $markerImages[] = $marker->getIcon();
            }

            if ($marker->hasShadow() && !in_array($marker->getShadow(), $markerImages)) {
                $markerImages[] = $marker->getShadow();
            }
        }

        return $markerImages;
    }
protected function computeMarkerImages(Map $map)
    {
        $markerImages = array();

        foreach ($map->getMarkers() as $marker) {
            if ($marker->hasIcon() && !in_array($marker->getIcon(), $markerImages)) {
                $markerImages[] = $marker->getIcon();
            }

            if ($marker->hasShadow() && !in_array($marker->getShadow(), $markerImages)) {
                $markerImages[] = $marker->getShadow();
            }
        }

        return $markerImages;
    }
protected function computeMarkerImages ( Map $ map ) { $ markerImages = array ( ) ; foreach ( $ map -> getMarkers ( ) as $ marker ) { if ( $ marker -> hasIcon ( ) && ! in_array ( $ marker -> getIcon ( ) , $ markerImages ) ) { $ markerImages [ ] = $ marker -> getIcon ( ) ; } if ( $ marker -> hasShadow ( ) && ! in_array ( $ marker -> getShadow ( ) , $ markerImages ) ) { $ markerImages [ ] = $ marker -> getShadow ( ) ; } } return $ markerImages ; }
Computes the marker images of a map.

@param \Ivory\GoogleMap\Map $map The map.

@return array The computed marker images.
Computes the marker images of a map .