Hi, you can use the default 5 icons listed in administration. It is not easy to add new icon into Google Maps, you need the icon and then you need to set all needed data for the icon, so this need to be done in code (customized), see:
e.g. : grey icon:
Code: Select all
var phocaIcon = new GIcon();
phocaIcon.image = '/demo/components/com_phocamaps/assets/images/giconyellow/image.png';
phocaIcon.shadow = '/demo/components/com_phocamaps/assets/images/giconyellow/shadow.png';
phocaIcon.iconSize = new GSize(26,30);
phocaIcon.shadowSize = new GSize(41,30);
phocaIcon.iconAnchor = new GPoint(0,30);
phocaIcon.infoWindowAnchor = new GPoint(13,0);
phocaIcon.imageMap = [18,1,19,2,21,3,23,4,24,5,24,6,24,7,24,8,23,9,23,10,22,
11,22,12,21,13,20,14,20,15,19,16,19,17,18,18,17,19,18,
20,20,21,22,22,22,23,22,24,22,25,18,26,15,27,12,28,8,
29,4,29,4,28,3,27,3,26,3,25,3,24,3,23,2,22,2,21,2,
20,2,19,2,18,1,17,1,16,1,15,1,14,1,13,1,12,1,11,9,
10,10,9,10,8,11,7,11,6,12,5,12,4,13,3,14,2,14,1];
phocaIcon.printImage = '/demo/components/com_phocamaps/assets/images/giconyellow/printImage.gif';
phocaIcon.mozPrintImage = '/demo/components/com_phocamaps/assets/images/giconyellow/mozPrintImage.gif';
phocaIcon.printShadow = '/demo/components/com_phocamaps/assets/images/giconyellow/printShadow.gif';
phocaIcon.transparent = '/demo/components/com_phocamaps/assets/images/giconyellow/transparent.png';