I have managed to get this to work. I tried using assign as well, but because it didn't work I sorted it with capture:
Code: Select all
{capture name="adres" assign="adres"}{$entry->address}, {$entry->customfieldsbyname.Plaats}{/capture}
{cggm_add_dynpoint map="bedrijven" name=$entry->company_name address=$adres description=$adres}
{CGGoogleMaps map="bedrijven"}
This is not with Calendar, but with Company Directory. The idea should be the same. I had the capture within the {foreach} because there could be multiple entries on one page. The map was outside of it.
Hope it helps