Google Maps location bubble
In the Google Map that's displayed on the ad page, the full address provided by the ad poster appears in a bubble, along with the title. The problem is, the address appears in only one line. When the address is long, the bubble expands to accommodate the line and sometimes goes off the map view (see image
How can the address line be formatted so that it wraps? Or, how can the address line be formatted so that, for example, the city and country are displayed in their own separates lines inside the location bubble?
I tried to apply formatting (like <br/>
) to the $make_address
variable in sidebar-gmap.php
, but that made the map not be displayed anymore.
Any help would be much appreciated.