How to use own marker-icons with OSM

Phoca Maps - displaying maps in Joomla! CMS
defunkt
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Jul 2018, 21:51

How to use own marker-icons with OSM

Post by defunkt »

Salut! :-)

My system: Joomla 3.8.10, PhocaMaps-component 3.0.5, PhocaMaps-plugin 3.0.5 .

I want to use own (selfmade) marker-icons together with maps-type "OpenStreetMap" (OSM). This doesn`t work. When I use the same marker-icons together with maps-type "GoogleMaps", there is not such problem.

How can I use my own marker-icons in OSM-maps (component + plugin!)?

Thanks for help! :-)
defunkt
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Jul 2018, 21:51

Re: How to use own marker-icons with OSM

Post by defunkt »

In general settings: when you set the map-type to "GoogleMaps". it works perfectly, the extern icon is displayed! When you then change in settings back to map-type "OpenStreetMap", the icon is no longer displayed. Instead, a system icon is displayed.

Is the display of extern icons under map-type "OpenStreetMap" not a feature in PhocaMaps or do I make a mistake?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to use own marker-icons with OSM

Post by Jan »

Hi, OSM uses Fonawesome or Glyphicons (Boostrap) icons:

Image

So the name of the icon can be set directly in the marker edit.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to use own marker-icons with OSM

Post by Jan »

I want to know how can I use data from OpenStreetMap?
Hi, what do you exactly mean? Which data you mean?
If you find Phoca extensions useful, please support the project
Post Reply