forked from MapComplete/MapComplete
		
	Tweaks to natuurpunt-layout
This commit is contained in:
		
							parent
							
								
									8268c0d054
								
							
						
					
					
						commit
						7ff59e34a5
					
				
					 2 changed files with 56 additions and 9 deletions
				
			
		| 
						 | 
					@ -17,6 +17,7 @@ export class Birdhide extends LayerDefinition {
 | 
				
			||||||
            elementsToShow: [new FixedText("hi")],
 | 
					            elementsToShow: [new FixedText("hi")],
 | 
				
			||||||
            icon: "assets/nature/birdhide.svg",
 | 
					            icon: "assets/nature/birdhide.svg",
 | 
				
			||||||
            minzoom: 12,
 | 
					            minzoom: 12,
 | 
				
			||||||
 | 
					            wayHandling: LayerDefinition.WAYHANDLING_CENTER_AND_WAY,
 | 
				
			||||||
            newElementTags: [Birdhide.birdhide],
 | 
					            newElementTags: [Birdhide.birdhide],
 | 
				
			||||||
            style(tags: any): { color: string; icon: any } {
 | 
					            style(tags: any): { color: string; icon: any } {
 | 
				
			||||||
                return {color: "", icon: undefined};
 | 
					                return {color: "", icon: undefined};
 | 
				
			||||||
| 
						 | 
					@ -64,6 +65,14 @@ export class Birdhide extends LayerDefinition {
 | 
				
			||||||
                    k: new Tag("amenity", "shelter"),
 | 
					                    k: new Tag("amenity", "shelter"),
 | 
				
			||||||
                    txt: "Vogelijkhut{name}"
 | 
					                    txt: "Vogelijkhut{name}"
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    k: new Tag("shelter", "yes"),
 | 
				
			||||||
 | 
					                    txt: "Vogelijkhut{name}"
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    k: new Tag("amenity", "shelter"),
 | 
				
			||||||
 | 
					                    txt: "Vogelijkhut{name}"
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    k: new Tag("building", "yes"),
 | 
					                    k: new Tag("building", "yes"),
 | 
				
			||||||
                    txt: "Vogelijkhut{name}"
 | 
					                    txt: "Vogelijkhut{name}"
 | 
				
			||||||
| 
						 | 
					@ -103,7 +112,12 @@ export class Birdhide extends LayerDefinition {
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
                        k: new And([new Tag("amenity", "shelter"), new Tag("building", "yes"), new Tag("shelter", "yes")]),
 | 
					                        k: new And([new Tag("amenity", "shelter"), new Tag("building", "yes"), new Tag("shelter", "yes")]),
 | 
				
			||||||
                        txt: "Vogelijkhut"
 | 
					                        txt: "Vogelijkhut"
 | 
				
			||||||
                    }
 | 
					                    },
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        k: new Or([new Tag("amenity", "shelter"), new Tag("building", "yes"), new Tag("shelter", "yes")]),
 | 
				
			||||||
 | 
					                        txt: "Vogelijkhut"
 | 
				
			||||||
 | 
					                    },
 | 
				
			||||||
 | 
					                 
 | 
				
			||||||
                ]
 | 
					                ]
 | 
				
			||||||
            }),
 | 
					            }),
 | 
				
			||||||
            new TagRenderingOptions({
 | 
					            new TagRenderingOptions({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,11 +5,35 @@
 | 
				
			||||||
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 | 
					   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 | 
				
			||||||
   xmlns:svg="http://www.w3.org/2000/svg"
 | 
					   xmlns:svg="http://www.w3.org/2000/svg"
 | 
				
			||||||
   xmlns="http://www.w3.org/2000/svg"
 | 
					   xmlns="http://www.w3.org/2000/svg"
 | 
				
			||||||
 | 
					   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
 | 
				
			||||||
 | 
					   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
 | 
				
			||||||
   width="14"
 | 
					   width="14"
 | 
				
			||||||
   height="14"
 | 
					   height="14"
 | 
				
			||||||
   id="svg3800"
 | 
					   id="svg3800"
 | 
				
			||||||
   version="1.1"
 | 
					   version="1.1"
 | 
				
			||||||
   viewBox="0 0 14 14">
 | 
					   viewBox="0 0 14 14"
 | 
				
			||||||
 | 
					   sodipodi:docname="birdshelter.svg"
 | 
				
			||||||
 | 
					   inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
 | 
				
			||||||
 | 
					  <sodipodi:namedview
 | 
				
			||||||
 | 
					     pagecolor="#ffffff"
 | 
				
			||||||
 | 
					     bordercolor="#666666"
 | 
				
			||||||
 | 
					     borderopacity="1"
 | 
				
			||||||
 | 
					     objecttolerance="10"
 | 
				
			||||||
 | 
					     gridtolerance="10"
 | 
				
			||||||
 | 
					     guidetolerance="10"
 | 
				
			||||||
 | 
					     inkscape:pageopacity="0"
 | 
				
			||||||
 | 
					     inkscape:pageshadow="2"
 | 
				
			||||||
 | 
					     inkscape:window-width="1920"
 | 
				
			||||||
 | 
					     inkscape:window-height="1001"
 | 
				
			||||||
 | 
					     id="namedview7"
 | 
				
			||||||
 | 
					     showgrid="false"
 | 
				
			||||||
 | 
					     inkscape:zoom="16.857143"
 | 
				
			||||||
 | 
					     inkscape:cx="7"
 | 
				
			||||||
 | 
					     inkscape:cy="7"
 | 
				
			||||||
 | 
					     inkscape:window-x="0"
 | 
				
			||||||
 | 
					     inkscape:window-y="0"
 | 
				
			||||||
 | 
					     inkscape:window-maximized="1"
 | 
				
			||||||
 | 
					     inkscape:current-layer="svg3800" />
 | 
				
			||||||
  <defs
 | 
					  <defs
 | 
				
			||||||
     id="defs3802" />
 | 
					     id="defs3802" />
 | 
				
			||||||
  <metadata
 | 
					  <metadata
 | 
				
			||||||
| 
						 | 
					@ -20,16 +44,25 @@
 | 
				
			||||||
        <dc:format>image/svg+xml</dc:format>
 | 
					        <dc:format>image/svg+xml</dc:format>
 | 
				
			||||||
        <dc:type
 | 
					        <dc:type
 | 
				
			||||||
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
 | 
					           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
 | 
				
			||||||
        <dc:title></dc:title>
 | 
					        <dc:title />
 | 
				
			||||||
      </cc:Work>
 | 
					      </cc:Work>
 | 
				
			||||||
    </rdf:RDF>
 | 
					    </rdf:RDF>
 | 
				
			||||||
  </metadata>
 | 
					  </metadata>
 | 
				
			||||||
 | 
					  <ellipse
 | 
				
			||||||
 | 
					     style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.82793295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
 | 
				
			||||||
 | 
					     id="path818"
 | 
				
			||||||
 | 
					     cx="7.0593209"
 | 
				
			||||||
 | 
					     cy="7.0296607"
 | 
				
			||||||
 | 
					     rx="6.0182371"
 | 
				
			||||||
 | 
					     ry="5.7200356" />
 | 
				
			||||||
  <path
 | 
					  <path
 | 
				
			||||||
     style="fill:#94bb28;fill-opacity:1;stroke-width:1.2259587"
 | 
					     id="path820"
 | 
				
			||||||
     d="M 4.7296291,5.7048034 V 6.7417316 H 6.3625149 V 5.7048034 Z m 3.1970987,0 v 1.0369282 h 1.635428 V 5.7048034 Z m 0,1.3615319 V 9.929158 c 0,0.137344 0.1248063,0.247964 0.2797758,0.247964 h 0.020344 0.2594303 v 2.774907 c 0,0.132728 0.1223883,0.2412 0.2721487,0.2412 h 2.4010024 c 0.149759,0 0.272149,-0.10847 0.272149,-0.2412 V 11.22532 l 0.0051,-0.25247 -1.040267,-3.9065147 z m -4.038976,0.00453 -1.0428083,3.9065137 0.0051,0.254723 v 1.726711 c 4.5e-6,0.13273 0.1223942,0.241202 0.2721522,0.241202 h 2.4010035 c 0.152362,0 0.2746909,-0.108471 0.2746909,-0.241198 v -2.772669 h 0.2568822 0.020347 c 0.1549659,0 0.2797778,-0.112874 0.2797778,-0.250215 V 7.0708438 Z m 2.8283005,0 v 2.662175 H 7.5630154 V 7.0708438 Z"
 | 
					     d="M 5.3719761,5.278444 V 6.0591348 H 6.6013562 V 5.278444 Z m 2.4070571,0 V 6.0591348 H 9.0103273 V 5.278444 Z m 0,1.025081 v 2.1553847 c 0,0.1034047 0.093965,0.1866891 0.2106399,0.1866891 h 0.015317 0.195322 v 2.0891932 c 0,0.09993 0.092145,0.181597 0.2048974,0.181597 h 1.8076855 c 0.112752,0 0.204898,-0.08167 0.204898,-0.181597 V 9.4347745 l 0.0038,-0.190082 L 9.6383893,6.303525 Z m -3.0408964,0.00341 -0.7851178,2.9411665 0.00384,0.191778 v 1.3000195 c 3.4e-6,0.09993 0.092149,0.181598 0.2049002,0.181598 h 1.8076866 c 0.1147115,0 0.2068114,-0.08167 0.2068114,-0.181595 V 8.6523944 h 0.1934036 0.015319 c 0.1166719,0 0.2106413,-0.084982 0.2106413,-0.1883839 V 6.3069194 Z m 2.1293934,0 V 8.3112551 H 7.5051985 V 6.3069194 Z"
 | 
				
			||||||
     id="rect239-1" />
 | 
					     style="fill:#94bb28;fill-opacity:1;stroke-width:0.92300957"
 | 
				
			||||||
 | 
					     inkscape:connector-curvature="0" />
 | 
				
			||||||
  <path
 | 
					  <path
 | 
				
			||||||
     id="rect4777"
 | 
					     style="fill:#734a08;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.02091908;stroke-opacity:1"
 | 
				
			||||||
     d="M 7.0889837,-0.10160715 0.17796583,4.9812788 0.91238492,5.7921972 1.4027311,5.2552234 v 7.6895316 0.02769 c -2.072e-4,0.275222 0.1061456,0.530617 0.2804973,0.673602 0.1801358,0.146852 0.4049368,0.151545 0.5883574,0.01229 0.1841777,-0.138991 0.2983989,-0.401233 0.2987393,-0.685886 V 4.6246818 L 7.1197677,1.5197554 11.792346,4.6870601 v 8.3477549 c -2.08e-4,0.275221 0.106147,0.530617 0.280497,0.673602 0.180136,0.146852 0.404937,0.151547 0.588359,0.01229 0.184177,-0.138991 0.298398,-0.401233 0.298739,-0.685886 V 5.3176049 l 0.428778,0.2562714 0.611282,-0.4990267 z"
 | 
					     d="M 7.1483058,1.7966979 1.9450836,5.6235415 2.4980189,6.2340722 2.8671947,5.8297911 v 5.7893559 0.02085 c -1.56e-4,0.207212 0.079916,0.399496 0.211183,0.507147 0.1356221,0.110563 0.304872,0.114097 0.4429672,0.0093 C 3.6600101,12.0518 3.7460058,11.854361 3.7462621,11.640049 V 5.3550639 L 7.1714827,3.0174022 10.689411,5.4020278 v 6.2849242 c -1.57e-4,0.207211 0.07992,0.399495 0.211182,0.507147 0.135623,0.110563 0.304873,0.114098 0.442969,0.0093 0.138664,-0.104645 0.22466,-0.302084 0.224917,-0.516396 V 5.8767574 l 0.322822,0.1929437 0.460226,-0.3757112 z"
 | 
				
			||||||
     style="fill:#734a08;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.356004;stroke-opacity:1" />
 | 
					     id="path822"
 | 
				
			||||||
 | 
					     inkscape:connector-curvature="0" />
 | 
				
			||||||
</svg>
 | 
					</svg>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 3.3 KiB  | 
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue