Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ects. Speeds up processing quite a bit.
  • Loading branch information...
commit 5242b549a6f3a6e6df4e1ad6e56574e4e2a06aba 1 parent 97edf48
@caveman99 caveman99 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Map.php
View
4 src/Map.php
@@ -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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.