/**
  *TO DO: this contains map related stuff... which should be removed
  *
  **/
 public function index($action)
 {
     //Debug::show($action);
     //Debug::show($this->owner->isAjax);
     if ($this->isAjax) {
         //$data = DataObject::get_by_id('BusinessPage', (int)$action['ID']);
         return $this->renderWith('AjaxBusinessDetails');
     } else {
         if ($this->canEdit()) {
             GoogleMap::setAddPointsToMap(true);
             GoogleMap::setAddDeleteMarkerButton("remove this location");
             $this->addUpdateServerUrlDragend();
         } else {
             GoogleMap::setAddPointsToMap(false);
             GoogleMap::setAddDeleteMarkerButton("");
         }
         $this->addMap("showPagePointsMapXML");
         return array();
     }
 }