Show
Ignore:
Timestamp:
07/25/2008 08:29:59 AM (4 months ago)
Author:
alexsancho
Message:

added initial support for custom icons

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/gmaps/views/gmaps/javascript.php

    r3163 r3206  
    77        <?php echo $center, "\n" ?> 
    88        <?php echo $options->render(1), "\n" ?> 
     9         
     10        // Build custom marker icons 
     11        <?php foreach($icons as $icon): ?> 
     12        <?php echo $icon->render(1), "\n" ?> 
     13        <?php endforeach ?> 
    914 
    1015        // Show map points 
    11         <?php foreach ($markers as $marker): ?> 
     16        <?php foreach($markers as $marker): ?> 
    1217        <?php echo $marker->render(1), "\n" ?> 
    1318        <?php endforeach ?>