forked from MapComplete/MapComplete
		
	UX: show rivers and streams in MapComplete sunny, see #2398
This commit is contained in:
		
							parent
							
								
									eb7a7ad63c
								
							
						
					
					
						commit
						f801e89fc1
					
				
					 2 changed files with 49 additions and 29 deletions
				
			
		| 
						 | 
					@ -514,29 +514,39 @@
 | 
				
			||||||
         }
 | 
					         }
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
         "id": "physical_line_stream",
 | 
					         "id": "water_stream",
 | 
				
			||||||
         "type": "line",
 | 
					         "type": "line",
 | 
				
			||||||
         "source": "protomaps",
 | 
					         "source": "protomaps",
 | 
				
			||||||
         "source-layer": "physical_line",
 | 
					         "source-layer": "water",
 | 
				
			||||||
         "minzoom": 14,
 | 
					         "minzoom": 10,
 | 
				
			||||||
         "filter": [
 | 
					         "filter": [
 | 
				
			||||||
            "all",
 | 
					 | 
				
			||||||
            [
 | 
					 | 
				
			||||||
            "in",
 | 
					            "in",
 | 
				
			||||||
            "kind",
 | 
					            "kind",
 | 
				
			||||||
            "stream"
 | 
					            "stream"
 | 
				
			||||||
            ]
 | 
					 | 
				
			||||||
         ],
 | 
					         ],
 | 
				
			||||||
         "paint": {
 | 
					         "paint": {
 | 
				
			||||||
            "line-color": "#85c2e9",
 | 
					            "line-color": "#85c2e9",
 | 
				
			||||||
            "line-width": 0.5
 | 
					            "line-width": [
 | 
				
			||||||
 | 
					               "interpolate",
 | 
				
			||||||
 | 
					               [
 | 
				
			||||||
 | 
					                  "exponential",
 | 
				
			||||||
 | 
					                  1.6
 | 
				
			||||||
 | 
					               ],
 | 
				
			||||||
 | 
					               [
 | 
				
			||||||
 | 
					                  "zoom"
 | 
				
			||||||
 | 
					               ],
 | 
				
			||||||
 | 
					               12,
 | 
				
			||||||
 | 
					               0,
 | 
				
			||||||
 | 
					               18,
 | 
				
			||||||
 | 
					               10
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
         }
 | 
					         }
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
         "id": "physical_line_river",
 | 
					         "id": "water_river",
 | 
				
			||||||
         "type": "line",
 | 
					         "type": "line",
 | 
				
			||||||
         "source": "protomaps",
 | 
					         "source": "protomaps",
 | 
				
			||||||
         "source-layer": "physical_line",
 | 
					         "source-layer": "water",
 | 
				
			||||||
         "minzoom": 9,
 | 
					         "minzoom": 9,
 | 
				
			||||||
         "filter": [
 | 
					         "filter": [
 | 
				
			||||||
            "in",
 | 
					            "in",
 | 
				
			||||||
| 
						 | 
					@ -564,10 +574,10 @@
 | 
				
			||||||
         }
 | 
					         }
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
         "id": "physical_line_underground_stream",
 | 
					         "id": "water_underground_stream",
 | 
				
			||||||
         "type": "line",
 | 
					         "type": "line",
 | 
				
			||||||
         "source": "protomaps",
 | 
					         "source": "protomaps",
 | 
				
			||||||
         "source-layer": "physical_line",
 | 
					         "source-layer": "water",
 | 
				
			||||||
         "minzoom": 14,
 | 
					         "minzoom": 14,
 | 
				
			||||||
         "filter": [
 | 
					         "filter": [
 | 
				
			||||||
            "all",
 | 
					            "all",
 | 
				
			||||||
| 
						 | 
					@ -587,10 +597,10 @@
 | 
				
			||||||
         }
 | 
					         }
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
         "id": "physical_line_underground_river",
 | 
					         "id": "water_underground_river",
 | 
				
			||||||
         "type": "line",
 | 
					         "type": "line",
 | 
				
			||||||
         "source": "protomaps",
 | 
					         "source": "protomaps",
 | 
				
			||||||
         "source-layer": "physical_line",
 | 
					         "source-layer": "water",
 | 
				
			||||||
         "minzoom": 9,
 | 
					         "minzoom": 9,
 | 
				
			||||||
         "filter": [
 | 
					         "filter": [
 | 
				
			||||||
            "all",
 | 
					            "all",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -513,29 +513,39 @@
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "id": "physical_line_stream",
 | 
					      "id": "water_stream",
 | 
				
			||||||
      "type": "line",
 | 
					      "type": "line",
 | 
				
			||||||
      "source": "protomaps",
 | 
					      "source": "protomaps",
 | 
				
			||||||
      "source-layer": "physical_line",
 | 
					      "source-layer": "water",
 | 
				
			||||||
      "minzoom": 14,
 | 
					      "minzoom": 10,
 | 
				
			||||||
      "filter": [
 | 
					      "filter": [
 | 
				
			||||||
        "all",
 | 
					 | 
				
			||||||
        [
 | 
					 | 
				
			||||||
          "in",
 | 
					          "in",
 | 
				
			||||||
          "kind",
 | 
					          "kind",
 | 
				
			||||||
          "stream"
 | 
					          "stream"
 | 
				
			||||||
        ]
 | 
					 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      "paint": {
 | 
					      "paint": {
 | 
				
			||||||
        "line-color": "#85c2e9",
 | 
					        "line-color": "#85c2e9",
 | 
				
			||||||
        "line-width": 0.5
 | 
					        "line-width": [
 | 
				
			||||||
 | 
					          "interpolate",
 | 
				
			||||||
 | 
					          [
 | 
				
			||||||
 | 
					            "exponential",
 | 
				
			||||||
 | 
					            1.6
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					          [
 | 
				
			||||||
 | 
					            "zoom"
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
 | 
					          12,
 | 
				
			||||||
 | 
					          0,
 | 
				
			||||||
 | 
					          18,
 | 
				
			||||||
 | 
					          10
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "id": "physical_line_river",
 | 
					      "id": "water_river",
 | 
				
			||||||
      "type": "line",
 | 
					      "type": "line",
 | 
				
			||||||
      "source": "protomaps",
 | 
					      "source": "protomaps",
 | 
				
			||||||
      "source-layer": "physical_line",
 | 
					      "source-layer": "water",
 | 
				
			||||||
      "minzoom": 9,
 | 
					      "minzoom": 9,
 | 
				
			||||||
      "filter": [
 | 
					      "filter": [
 | 
				
			||||||
        "in",
 | 
					        "in",
 | 
				
			||||||
| 
						 | 
					@ -563,10 +573,10 @@
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "id": "physical_line_underground_stream",
 | 
					      "id": "water_underground_stream",
 | 
				
			||||||
      "type": "line",
 | 
					      "type": "line",
 | 
				
			||||||
      "source": "protomaps",
 | 
					      "source": "protomaps",
 | 
				
			||||||
      "source-layer": "physical_line",
 | 
					      "source-layer": "water",
 | 
				
			||||||
      "minzoom": 14,
 | 
					      "minzoom": 14,
 | 
				
			||||||
      "filter": [
 | 
					      "filter": [
 | 
				
			||||||
        "all",
 | 
					        "all",
 | 
				
			||||||
| 
						 | 
					@ -586,10 +596,10 @@
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "id": "physical_line_underground_river",
 | 
					      "id": "water_underground_river",
 | 
				
			||||||
      "type": "line",
 | 
					      "type": "line",
 | 
				
			||||||
      "source": "protomaps",
 | 
					      "source": "protomaps",
 | 
				
			||||||
      "source-layer": "physical_line",
 | 
					      "source-layer": "water",
 | 
				
			||||||
      "minzoom": 9,
 | 
					      "minzoom": 9,
 | 
				
			||||||
      "filter": [
 | 
					      "filter": [
 | 
				
			||||||
        "all",
 | 
					        "all",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue