Moodul:Kaart: erinevus redaktsioonide vahel

Eemaldatud sisu Lisatud sisu
P zoom 9
joonobjekt (geoline) täiteta
158. rida:
properties["stroke-width"] = args.size == nil and 2 or tonumber(args.size)
properties["stroke-opacity"] = args.opacity == nil and 1 or tonumber(args.opacity)
properties["fill"] = args.contour == nil and args.fill_color == nil and '#555555' or args.fill_color
properties["fill-opacity"] = args.contour == nil and args.fill_opacity == nil and 0.3 or tonumber(args.fill_opacity)
properties['title'] = args.title == nil and '' or args.title
properties['description'] = args.description == nil and '' or args.description
191. rida:
properties["stroke-width"] = args.size == nil and 2 or tonumber(args.size)
properties["stroke-opacity"] = args.opacity == nil and 1 or tonumber(args.opacity)
properties["fill"] = args.contour == nil and args.fill_color == nil and '#555555' or args.fill_color
properties["fill-opacity"] = args.contour == nil and args.fill_opacity == nil and 0.3 or tonumber(args.fill_opacity)
properties['title'] = args.title == nil and '' or args.title
properties['description'] = args.description == nil and '' or args.description