Moved map layer's custom properties to a separate class