[josm-dev] Custom K/V Tags in MAPCSS?
Alex Rollin
alex.rollin at gmail.com
Thu Jul 17 00:11:54 UTC 2014
I think this is a bug. Maybe someone would like to check it for themselves.
Basically, it seems to me that it is not possible to use a custom key to
create a new style rule.
These are MapCSS examples we have tried:
We want to use a custom tag for our style, like this, but it does not work:
node[oursurvey=information] {
icon-image: "icons/triangle.png";
This common key DOES work :
node[amenity=information] {
icon-image: "icons/triangle.png";
This ACTUAL key also works:
node[tourism=information] {
icon-image: "icons/triangle.png";
Why doesn't our custom key work? Is there a list of pre-approved tags that
are allowed?
--
Alex
On Thu, Jul 17, 2014 at 2:39 AM, Paul Hartmann <phaaurlt at gmail.com> wrote:
> On 16.07.2014 11:45, Alex Rollin wrote:
>
>> I am just trying to get some nodes to
>> show with an icon.
>>
>
> I don't quite understand the rest of your mail, but here is how you create
> a custom map style:
>
> http://josm.openstreetmap.de/wiki/Styles
>
> Best, Paul
>
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/josm-dev
>
More information about the josm-dev
mailing list