public function __construct(DatabaseServer $server)
 {
     $this->_configuration['tileWidth'] = $server->tileWidth;
     $this->_configuration['tileHeight'] = $server->tileHeight;
     $this->_configuration['minZoom'] = $server->minZoom;
     $this->_configuration['maxZoom'] = $server->maxZoom;
     $this->_configuration['cacheLimit'] = $server->cacheSize;
     $this->_configuration['name'] = $server->name;
     $this->_serverUrl = $server->getServerUrl();
     $this->_imageHandler = new ImageHandlerPNG();
     $this->_tileCache = new TileCache('./dynamic/' . $this->_configuration['name'], $this->_configuration['cacheLimit'] * 1048576, $this->_imageHandler);
 }