Change to pointonsurface (#1641)
Fixes #1640 This ensures that place and poi points computed from areas result in a point node that is actually inside the area that it's derived from. Unusual shaped areas (like a banana shape, for example) may produce points that aren't actually contained.
This commit is contained in:
committed by
GitHub
parent
9f891b625a
commit
d6fd5ef7cb
@@ -28,7 +28,10 @@
|
||||
"image",
|
||||
[
|
||||
"match",
|
||||
["get", "subclass"],
|
||||
[
|
||||
"get",
|
||||
"subclass"
|
||||
],
|
||||
"chocolate",
|
||||
"confectionery",
|
||||
"wine",
|
||||
@@ -39,7 +42,10 @@
|
||||
"perfumery",
|
||||
"wholesale",
|
||||
"trade",
|
||||
["get", "subclass"]
|
||||
[
|
||||
"get",
|
||||
"subclass"
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
@@ -118,10 +124,16 @@
|
||||
},
|
||||
"icon-image": [
|
||||
"match",
|
||||
["get", "subclass"],
|
||||
[
|
||||
"get",
|
||||
"subclass"
|
||||
],
|
||||
"chocolate",
|
||||
"confectionery",
|
||||
["get", "subclass"]
|
||||
[
|
||||
"get",
|
||||
"subclass"
|
||||
]
|
||||
],
|
||||
"text-field": "{name:latin}\n{name:nonlatin}",
|
||||
"visibility": "visible",
|
||||
|
||||
Reference in New Issue
Block a user