Page 1 of 1

CGGoogleMaps + Company Directory -> Custom Markers

Posted: Tue Feb 03, 2009 1:35 pm
by KumKum
I'm using Company Directory with CGGoogle Maps. Companies are dynamically displayed on google map. It's working perfectly with this code :

{CompanyDirectory assign='dummy'}
{foreach from=$items item='entry'}   
{assign var='name' value=$entry->company_name}
{assign var='address' value=$entry->address}   
{capture assign='description'}
{$entry->company_name}
{$entry->details}
Tel. {$entry->telephone} - Fax {$entry->fax}
Site Web website}" target="blank">{$entry->company_name} - Email {$entry->contact_email}
{/capture}
{cggm_add_dynpoint map='1' name="$name" address="$address" description="$description"}
{/foreach}
{CGGoogleMaps map='1' lang='fr_FR'}

Calguy, thanks for your explanations on the various forums.

How to create a customized marker (.png) for each category of companies (categories in Company Directory) ?
Is this possible in smarty ? php ? .... :)

Re: CGGoogleMaps + Company Directory -> Custom Markers

Posted: Thu Feb 05, 2009 6:14 pm
by elkman
Do you have an active site where this can be viewed?  Appears like a GREAT idea!

Elkman

Re: CGGoogleMaps + Company Directory -> Custom Markers

Posted: Tue May 04, 2010 4:15 pm
by michaywood
I know this is an old topic.. but I'd love to bump it. Anyone out there with more assistance on using CGGoogle Maps with Company Directory?