adding legend to mapexample