add to map
dynamic legend working