added distance measurement and scale legend to map