Icon fontawesome with OSM and library fontawesome

Phoca Maps - displaying maps in Joomla! CMS
xillibit
Phoca Member
Phoca Member
Posts: 26
Joined: 26 Jun 2017, 16:25

Icon fontawesome with OSM and library fontawesome

Post 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

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Icon fontawesome with OSM and library fontawesome

Post by Jan »

Hi, see:

Image

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

Image

Jan
If you find Phoca extensions useful, please support the project
xillibit
Phoca Member
Phoca Member
Posts: 26
Joined: 26 Jun 2017, 16:25

Re: Icon fontawesome with OSM and library fontawesome

Post 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 ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Icon fontawesome with OSM and library fontawesome

Post 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
If you find Phoca extensions useful, please support the project
Post Reply