Page 1 of 1

CGGoogleMaps icons issue

Posted: Thu Jan 24, 2013 12:58 pm
by osxfil
Hi, i want to use custom icons in CGGoogleMaps for Company directory module. I have in my template code for one category e.g.

Code: Select all

{cggm_add_dynpoint map=1 name=$entry->company_name lat=$entry->latitude long=$entry->longitude description=$description icon='gestute'}
but default icon is still used. Position on map is ok.
I tried change default icon for my map too, but without any effect - icon is still the same. Seems like Google Maps ignore icon marker value submitted from module.
Any idea?

Thanks,

Daniel

Re: CGGoogleMaps icons issue

Posted: Mon Jan 28, 2013 10:45 pm
by Charles Butcher
I've had similar results with the latest version of CGGoogleMaps. Custom icons show up OK in the screen for editing map points, but not on the web page.

CMSms 1.11.4, CGGoogleMaps 2.4.3, CGExtensions 1.31.3, CGSimpleSmarty 1.5.2, JQuery Tools 1.2.3.

Custom icons used to work nicely before a big upgrade from 1.10.x. Now I've upgraded so many modules at once I'm having trouble working out what has gone wrong.

The default map templates and Javascript templates in CGGoogleMaps have changed, and when I updated I needed to update my existing templates by hand before the maps would work at all. Now it's fine, except for the custom icons.