/**
  * method bases on map request object and sets the url to image which is used for drawing points
  *
  */
 private function _setPointImageUrl()
 {
     $url = $this->_mapRequest->getUrlToPointImage();
     if (!is_null($url)) {
         $this->_pointImageUrl = new ParamUrl($url);
     } else {
         $patternName = $this->_mapRequest->getPointImagePatternName();
         if (!is_null($patternName)) {
             $paramUrl = new ParamPatternUrl($patternName);
             if ($paramUrl->hasUrl()) {
                 $this->_pointImageUrl = $paramUrl;
             }
         }
     }
 }
 private function _configure()
 {
     TileCache::$daysToRemember = $this->_conf->get('tile_cache_days_of_memory');
     TileCache::$numberOfFilesToDelete = $this->_conf->get('tile_cache_number_of_files_to_delete');
     TilesGetter::$limitOfTiles = $this->_conf->get('max_number_of_tiles_per_map');
     $defaultColor = new Color();
     $defaultColor->setColor($this->_conf->get('default_drawings_color'));
     DrawRequest::$defaultColor = $defaultColor;
     DrawRequest::$defaultThickness = new ParamThickness($this->_conf->get('default_path_thickness'));
     DrawRequest::$defaultTransparency = new ParamTransparency($this->_conf->get('default_drawings_transparency'));
     ParamPatternUrl::$patternMap = $this->_conf->get('pattern_point_image_map');
 }