Page 1 of 1

How to add my own icon for markers?

Posted: 17 Aug 2010, 22:23
by kinio2000
Hi. I have my own icon for markers. It is possible to add it to the Phoca Maps? In editor I find a possibility to add them on the form but finally on the map - Phoca display only enable marker. I need 15-20 different icons for markers and Phoca offers only 10.
Sorry for my english ;-) and please help me in my marker adventure.

Re: How to add my own icon for markers?

Posted: 26 Aug 2010, 21:18
by kinio2000
Is anybody knows how to do it?

Re: How to add my own icon for markers?

Posted: 16 Oct 2010, 17:03
by sdhinternet
I would like this as well....

Re: How to add my own icon for markers?

Posted: 22 Jun 2011, 19:44
by pjotr
me too :)

Re: How to add my own icon for markers?

Posted: 21 Jul 2011, 02:08
by sd12013
bump.

Replacing the existing icons with my own artwork is easy enough but if I upload my own icon, add it via the icons tab and publish it, then in the Marker creation designate my external icon, nothing shows on the map. :x

Bug? Or am I just doing something wrong?

Re: How to add my own icon for markers?

Posted: 26 Jul 2011, 18:51
by Jan
Hi, did you set the right path the the icon - check other icons and the paths to them

Re: How to add my own icon for markers?

Posted: 28 Jul 2011, 01:58
by sd12013
I did. I don't know where this is going wrong but here's my steps.
1. I go to the icons tab, select New and direct it to my external icon. I dropped it in the same folder as the others just to be sure. Screen cap: bit.ly/qwgf5u
2. Save it and make sure it's published (the icons is visible). Screen cap: bit.ly/qEdefB
3. Create a new marker. Screen cap: bit.ly/pwxkx8
4. Designate the external icon: Screen cap: bit.ly/ovillU
5. Save the marker and ensure it's published. Screen cap: bit.ly/p7noZ6
6. Test it on the frontend and the icon is missing: Screen cap: bit.ly/pcKVK3
7. Go back into the marker settings, set the External Icon pull down back to "Select Icon" and choose one of the existing pre-set icons like a star and save.
8. Test it on the frontend and the icon shows perfectly! Screen cap: bit.ly/qZRGxe

I remedied the situation by replacing one of the pre-set existing icons I knew I wouldn't use on my map with my own icon artwork and select it. That works perfectly.

Did I miss a step or am I doing something incorrectly?

Re: How to add my own icon for markers?

Posted: 30 Jul 2011, 16:01
by Jan
Hi, can I see the site where the map is displayed (with the external icon- to check its url in the javascript code)

Jan

Re: How to add my own icon for markers?

Posted: 01 Aug 2011, 17:46
by sd12013
Sure. This map of Germany has one marker set for Munich. It has the same external icon set as in my screen caps.
http://207.158.12.69/partnercenters/ind ... 03/germany

Thanks for your help.

Re: How to add my own icon for markers?

Posted: 02 Aug 2011, 17:32
by Jan
Hi, try to set the full path (include http and domain name as the external icon)

Jan