Added ability for stylefunctions being added to the map