application/modules/g/views/helpers/GoogleStaticMap.php
public function getMarkersAsString($options){
        $markers = '';

        foreach ($options['markers'] as $marker) {
            $markers .= $marker['lat'] . ',' . $marker['lng'] . '|';
        }

        return $markers ? substr($markers, 0, -1) : '';
    }
public function getMarkersAsString($options){
        $markers = '';

        foreach ($options['markers'] as $marker) {
            $markers .= $marker['lat'] . ',' . $marker['lng'] . '|';
        }

        return $markers ? substr($markers, 0, -1) : '';
    }
public function getMarkersAsString ( $ options ) { $ markers = '' ; foreach ( $ options [ 'markers' ] as $ marker ) { $ markers .= $ marker [ 'lat' ] . ',' . $ marker [ 'lng' ] . '|' ; } return $ markers ? substr ( $ markers , 0 , - 1 ) : '' ; }
Walks through markers' array

@param array $options
@return string
@todo: implement other marker options
Walks through markers array