Custom Map Style for JOSM for disc_golf_course

Hi,

i’m trying to create a custom style for JOSM to make it easier to tag a leisure=disc_golf_course.
Currently its looking like that:

and its fine like that but there is some stuff i would like to improve:

  • a border along the way of the disc_golf=hole
  • a border around some features (like disc_golf=mando or disc_golf=drop_zone)

Now i looked at the following

Espacially with the last one in mind i added now the following:

way[disc_golf=hole]{
	text: "ref";
	font-size: 20;
	/*text-offset: 9; */
	width: 30;
	opacity: 0.4;
	/*casing-color: #808080;*/
	z-index: 110;
	left-casing-color:black;
	left-casing-width:2;
	left-casing-dashes:0;
	left-casing-opacity:0;
	right-casing-color:black;
	right-casing-width:2;
	right-casing-opacity:0;
	right-casing-dashes:0;
}

But it doesn’t to anything. The current version as shown above with the light grey broad way is okay - but not what i wanted. I feel like i am missing something here.

Its quite similar to whats visible on Planet DiscGolf on that matter, i just included more features as of now. The current code is on disc_golf_course - Pastebin.com for some time, but i will look into how to publish on https://josm.openstreetmap.de/wiki/Styles there as well.
The style / code is available at Styles/DiscGolfCourse – JOSM

Hope someone can help :slight_smile:

12 posts - 3 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/custom-map-style-for-josm-for-disc-golf-course/110688