Marker constructor now can recieve optional parameters in an object