I want a control circle as a icon (transparent). That I can set on in Mappaintstyle. Josm and zoom levels, in relation to the length and width of an icon Is there a table to see these relations? zoomlevel 1= x px or x mm zoomlevel 2 = y px or y mm So I can make for every zoomlevel a icon. For example 500 meter icons asked 05 Feb '17, 18:30 Allroads |
If you want to display a circle then using symbol instead of an icon sounds more reasonable. See https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation#Iconandsymbolstyles Regarding size calculations, you could have a look how its done in the Lane and Road Attributes mappaint style https://josm.openstreetmap.de/wiki/Styles/Lane_and_Road_Attributes some extracts from there:
answered 11 Apr '17, 21:56 Klumbumbus Thanks, I must try it out.
(11 Apr '17, 22:47)
Allroads
|
just for clarification: is your question about programming a map style for JOSM?
And please could you emphasize your "question"? I do not see a single "?" in your text. :-)
My question is about the size for making icons for use in the Map Paint Style. So that i can give (programming mapstyle) each zoomlevel, there own icon. That size fits, for example 500 meter radius on each zoomlevel.
There must be a relation between zoomlevel, size of the icon, to showing the correct, example 500 meter radius circle on the map. Just like the distance indicator on the JOSM screen. I would like to have a circle on a node.
I was looking for this JOSM relation table.
Also for programming mapstyle. Node is the middle of the circle. Must be set like; icon-offset-x:65;
icon-offset-y:65; must be the middle of the icon and maybe there is information if you have a icon in px or mm, what this offset is. to set middle point.