/**
  * Add polygon to map
  * @param string $value
  * @return boolean
  */
 public function addElementPolygon($value)
 {
     $return = true;
     $stringspolygon = explode($GLOBALS['egMultiMaps_SeparatorItems'], $value);
     foreach ($stringspolygon as $polygonvalue) {
         if (trim($polygonvalue) == '') {
             continue;
         }
         $polygon = new Polygon();
         if (!$polygon->parse($polygonvalue, $this->classname)) {
             $return = false;
             $this->errormessages = array_merge($this->errormessages, $polygon->getErrorMessages());
         }
         if (!$polygon->isValid()) {
             continue;
         }
         $this->polygons[] = $polygon;
         $this->elementsBounds->extend($polygon->pos);
     }
     return $return;
 }