kopia lustrzana https://github.com/openmaptiles/openmaptiles
Replace `["geometry-type"]` with `"$type"` (#1646)
Related to https://github.com/maplibre/maplibre-style-spec/pull/519 and https://github.com/maplibre/maplibre-gl-js/issues/3516 According to the Style Spec, `["geometry-type"]` is expected to distinguish between LineString and MultiLineString, while `"$type"` does not. For the transportation layer, the distinction is harmful. All of OMT style layers, except these two, use `"$type"`.pull/1650/head
rodzic
c2ae2503c8
commit
3f0ba7ceba
|
@ -4529,9 +4529,7 @@
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"==",
|
"==",
|
||||||
[
|
"$type",
|
||||||
"geometry-type"
|
|
||||||
],
|
|
||||||
"LineString"
|
"LineString"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -4633,9 +4631,7 @@
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"==",
|
"==",
|
||||||
[
|
"$type",
|
||||||
"geometry-type"
|
|
||||||
],
|
|
||||||
"LineString"
|
"LineString"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -7834,4 +7830,4 @@
|
||||||
"order": 183
|
"order": 183
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue