Topic on Template talk:Graph:Street map with marks

Changing all the dots color

5
Theklan (talkcontribs)

Is there any way to change all the points from a red dot to, let's say, an airport symbol?

Yurik (talkcontribs)

Hi, I just updated the docs with some more info. For an airport, you can use some icon image from Commons.

Theklan (talkcontribs)

It's not clear where to change it for all the icons at the same time. For example, if I want all the red dots to be an airport symbol, but it loads automatically from Wikidata... I can't put shape = foo in the top part and make it work.

Yurik (talkcontribs)

@Theklan when you are using wdqs= parameter, the SPARQL's output should include those fields. So if sparql has "img" field with the image URL, it will get used. The same way you can have a "color" field which will change default red color to some other, possibly different for each dot.

Theklan (talkcontribs)

Could it be possible to document an example of a SPARQL query in which all the dots are a, let's say, airport symbol?

Reply to "Changing all the dots color"