Permalink
Browse files

This way the concentration radius can be used with adding several obj…

…ects. Speeds up processing quite a bit.
  • Loading branch information...
1 parent 97edf48 commit 5242b549a6f3a6e6df4e1ad6e56574e4e2a06aba @caveman99 caveman99 committed Jun 6, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Map.php
View
@@ -281,9 +281,9 @@ function addGeoObjectIncrease(&$geoObject, $color='black', $radii=array(0=>2, 5=
* @return void
* @see addGeoObject()
*/
- function addGeoObjects(&$geoObjects,$color='black') {
+ function addGeoObjects(&$geoObjects,$color='black',$radius=0) {
foreach($geoObjects AS $geoObject) {
- $this->addGeoObject($geoObject,$color);
+ $this->addGeoObject($geoObject,$color,$radius);
}
}

0 comments on commit 5242b54

Please sign in to comment.