17.09.2015 - Multiline option in map field
You can now also choose to show the address information in a map field, in separate lines such as:
As an addition to the single line option: Street, Postal Code, City, State, Country
You choose! :-)
I like this new option. However one thing I noticed is that when you choose Multi-lined, the layout in badge view, no longer displays the map in the large area but the address like this...
213 Main St
An chance we could get an option what to show or switch it back?
try to use a similar code like this :
var map = @map.join() var returned = ; var comma = map.indexOf(','); var street = returned.street = map.slice(0, comma); var after = map.substring(comma + 2); var space = after.lastIndexOf(' '); var city = returned.city = after.slice(5, space-1); var zip = returned.zip = after.slice(0, 5); street + "\n" + zip + "\n" + city
Please sign in to leave a comment.