This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to embed external icons in Overpass-Turbo MapCSS

0

I'd like to use png icons in a Overpass-Turbo query with MapCSS but I can't figure out how to do that properly. Is that possible at all?

asked 08 Aug '14, 12:44

Ogmios's gravatar image

Ogmios
766202639
accept rate: 25%


2 Answers:

2

There is a documentation about icons in CSS section of overpass-turbo in OSM wiki. Did you try and does it work?

answered 08 Aug '14, 13:33

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

I thought I have checked this one but obviously I have overseen it. Thank you for that.

(08 Aug '14, 14:30) Ogmios

0
node[amenity=cafe] {
  icon-image: url('icons/maki/cafe-18.png');
  icon-width: 18;
}

answered 08 Aug '14, 14:28

Ogmios's gravatar image

Ogmios
766202639
accept rate: 25%

Source code available on GitHub .