                         foundPoint = pointAnnotation
                         println("foundPoint")
                         selectOnMap(foundPoint?.getGeoBaseEntity())
+                        selectInTable(foundPoint?.getGeoBaseEntity())
                         break
                     }
                 }

                mapView.addOverlay(line); //bring the highlightedLine below the line
                
            }
            
            var kindOfGeoBaseEntity = 0;
            if geoBaseEntity is Leuchte {
                kindOfGeoBaseEntity=LEUCHTEN

                kindOfGeoBaseEntity=MAUERLASCHEN
            }
            for i in 0...searchResults[kindOfGeoBaseEntity].count-1 {
                var results : [GeoBaseEntity] = searchResults[kindOfGeoBaseEntity]
                if results[i].id == geoBaseEntity.id {
                    tableView.selectRowAtIndexPath(NSIndexPath(forRow: i, inSection: kindOfGeoBaseEntity), animated: true, scrollPosition: UITableViewScrollPosition.Top)
                    break;
                }
            }
        }
    }
    
    
