Icons on openstreet maps

Phoca Maps - displaying maps in Joomla! CMS
User avatar
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 12 Jun 2019, 10:35

Icons on openstreet maps

Post by louponapoletano » 12 Jun 2019, 10:45

Hello everybody

I work on a openstreet map , due to the limitation on traffic with google maps;
I search to implement my own icons in my openstreet maps .

The google map link : http://www.database-memoire.eu/prive/fr ... ieres-fr-3 , you can see the icons.
The openstreet map link : http://www.database-memoire.eu/prive/fr ... etieres-v2

I found one way but i need to modify the css and a php page to suppress the white circle.

Is there another way ???

Sorry i don't implement the english maps... Many thanks for your help

Phoca Hero
Phoca Hero
Posts: 1625
Joined: 28 Nov 2010, 17:20

Re: Icons on openstreet maps

Post by christine » 13 Jun 2019, 13:18

louponapoletano wrote:
12 Jun 2019, 10:45
I found one way but i need to modify the css and a php page to suppress the white circle.
Which way did you find?
in principle (I think it's Protostar?) you could change/add CSS etc., when creating a user.css. Just to avoid overrides after Core/extensions updates.

Do you mean this one? http://www.database-memoire.eu/prive/me ... arkers.css

PHP file: Maybe using via template override?

I think, you mean this icon: http://www.database-memoire.eu/prive/im ... y_WWII.png
Did you try to implement into other page?

Sorry, I hv more questions than you - Wait for Jan please :wink: Thank you.

Kind regards

User avatar
Phoca Hero
Phoca Hero
Posts: 41236
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: Icons on openstreet maps

Post by Jan » 15 Jun 2019, 12:09

Hi, the icons cab be selected from Bootstrap Icons (Glyphicons) or FontAwesomeIcons in OpenStreetMap. If you want to add your own icons, the best method I think, is to add them per CSS - you can specify the class for the icons in administration and in CSS you can then add your own icons.

E.g. the similar way how here the flags are rendered:

Code: Select all

.de {
 width: 100%;
 height: 60%;
 background-size: 100% 100%;
If you find Phoca extensions useful, please support the project

Post Reply