{"action":"closed","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3549","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3549/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3549/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3549/events","html_url":"https://github.com/Leaflet/Leaflet/issues/3549","id":89411037,"number":3549,"title":"Overlapping Holes in polygon","user":{"login":"ttback","id":607140,"avatar_url":"https://avatars.githubusercontent.com/u/607140?v=3","gravatar_id":"","url":"https://api.github.com/users/ttback","html_url":"https://github.com/ttback","followers_url":"https://api.github.com/users/ttback/followers","following_url":"https://api.github.com/users/ttback/following{/other_user}","gists_url":"https://api.github.com/users/ttback/gists{/gist_id}","starred_url":"https://api.github.com/users/ttback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttback/subscriptions","organizations_url":"https://api.github.com/users/ttback/orgs","repos_url":"https://api.github.com/users/ttback/repos","events_url":"https://api.github.com/users/ttback/events{/privacy}","received_events_url":"https://api.github.com/users/ttback/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T22:19:45Z","updated_at":"2015-06-18T22:47:07Z","closed_at":"2015-06-18T22:47:07Z","body":"Following Geojson has holes inside one rectangle. I realize that when holes overlap, the overlap part is automatically filled. My goal is to style one part of a bigger polygon differently than the rest. So I am wondering if I have to clip the coordinates of holes here(to make them not overlap), or if there is a way to style overlapping areas of two layers(one layer for the container polygon, the other layer with only the area that I am trying to style differently) built from the geojsons. \r\n\r\nI have the geojson for the part that I want to style differently, the geojson for the bigger container polygon, but I am struggling with taking multiple holes out of one polygon when there are overlaps.  \r\n\r\n````\r\n{\r\n    \"type\": \"Feature\",\r\n    \"geometry\": {\r\n        \"type\": \"Polygon\",\r\n        \"coordinates\": [\r\n            [\r\n                [0.10731426191111113, 0],\r\n                [0.15164579, 0],\r\n                [0.15164579, -0.07350014],\r\n                [0.10731426191111113, -0.07350014],\r\n                [0.10731426191111113, 0]\r\n            ],\r\n            [\r\n\r\n                [0.1078158, -0.03111764],\r\n                [0.11977238, -0.03111764],\r\n                [0.11977238, -0.03560922],\r\n                [0.1078158, -0.03560922],\r\n                [0.1078158, -0.03111764]\r\n            ],\r\n            [\r\n                [0.10804038, -0.03459412],\r\n                [0.11454418, -0.03459412],\r\n                [0.11454418, -0.05479722],\r\n                [0.10804038, -0.05479722],\r\n                [0.10804038, -0.03459412]\r\n            ]\r\n\r\n\r\n        ]\r\n    },\r\n    \"properties\": {\r\n        \"region_type\": \"cutout\"\r\n    }\r\n}\r\n\r\n````"}}