update styling, input filter and legend stay within map bounds