CGGoogleMaps + Company Directory -> Custom Markers

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
KumKum
Forum Members
Forum Members
Posts: 19
Joined: Mon Nov 24, 2008 4:26 pm

CGGoogleMaps + Company Directory -> Custom Markers

Post 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 ? .... :)
Last edited by Anonymous on Tue Feb 03, 2009 1:45 pm, edited 1 time in total.
elkman
Power Poster
Power Poster
Posts: 262
Joined: Thu Jan 11, 2007 9:16 pm

Re: CGGoogleMaps + Company Directory -> Custom Markers

Post by elkman »

Do you have an active site where this can be viewed?  Appears like a GREAT idea!

Elkman
michaywood
Power Poster
Power Poster
Posts: 280
Joined: Thu Apr 15, 2010 12:27 am

Re: CGGoogleMaps + Company Directory -> Custom Markers

Post 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?
Post Reply

Return to “Modules/Add-Ons”