adding interactivity to map