Page 1 of 1

Icon fontawesome with OSM and library fontawesome

Posted: 04 Nov 2020, 19:26
by xillibit
Hello,

I'am using phoca maps 3.0.8 on Joomla! 3.9.22, in the setting of marker when using OSM, i can set a fa icon but when i click on save it's truncated.

Image

It's when i want use this icon : https://fontawesome.com/icons/assistive ... tyle=solid

When a map with OSM is loaded in an article, it loads too fontawesome 4.7.5 but on my site i already use fontawesome 5.15.1 so is-there a way to don't load fontawesome in phoca maps ?

Thanks by advance

Re: Icon fontawesome with OSM and library fontawesome

Posted: 04 Nov 2020, 21:27
by Jan
Hi, see:

Image

Just set the icon as Icon Prefix and Additional Icon Class:

Image

Jan

Re: Icon fontawesome with OSM and library fontawesome

Posted: 05 Nov 2020, 00:11
by xillibit
Thanks for the answer, i will try that later

And for the other point, is-there a chance that fontawesome library will be updated in phocamaps ? Or if it's already loaded on my site, can-i disable it in phocamaps ?

Re: Icon fontawesome with OSM and library fontawesome

Posted: 09 Nov 2020, 22:55
by Jan
Hi, added to feature request list. The fontawesome library is loaded by leaflet libraries. So then these libraries needs to be changed:

media/com_phocamaps/js/leaflet-control-locate
including the fonts:

media/com_phocamaps/js/fonts

Jan