public void mouseClicked(MouseEvent e)
    	 {
    		 
    		 if (isDrawing && e.getButton() == MouseEvent.BUTTON3){
    			 Polygon p = generatePolygon();
    			 polygons.add(p);
    			 polygonsWithColors.put(p, color);
    			 polygonLineCreate();
    		 }
    		 
    		 Set<Map.Entry<String, Boolean>> visibleSet = visible.entrySet();
		     for(Map.Entry m: visibleSet)
		     {
			    if ((Boolean)m.getValue())
			    {
			       Location loc = points.get(m.getKey());   
			       if (covers(loc, lastX, lastY))				 
			       {
			    	   isDrawing = false;
			    	  if (loc instanceof BusStop) 
			    	     busStopList.setSelectedItem(m.getKey());
			    	  else if (loc instanceof PointOfInterest)
			    	  {
			    	     JOptionPane.showMessageDialog(MapApp.this, ((PointOfInterest)loc).getDescription());
			    	  }
			       }
			       else{
			    	   isDrawing = true;
			       }
			 
			    }
		     }
    		 
    	 }