google maps

I found the article here on adding Google Maps to a module. Unfortunately, we have a lot of cases where the 2nd line of the address will not work well for google. Is it possible to eliminate anything after the line break from the code of the shipping address street? 

https://support.sugarcrm.com/Knowledge_Base/Studio_and_Module_Builder/Adding_a_Google_Map_to_a_Module/ 

https://www.google.com/maps/embed/v1/place?key=OURKEY={shipping_address_street}, {shipping_address_city}, {billing_address_state}, {shipping_address_postalcode}