editMap and display some reports code