feat: solve complete junction island contacts
This commit is contained in:
1 parent
7a7912f302
commit
1b91e280bc
5 files changed
+164
-7
No files matched your search
@@ -46,7 +46,12 @@ export function createLayers(
|
||||
}),
|
||||
sidewalks: new VectorLayer({
|
||||
source: source(),
|
||||
style: () => (scene() ? new Style({ fill: new Fill({ color: '#b7b9ad' }) }) : simple('#9b7c40')),
|
||||
style: (feature) =>
|
||||
feature.get('kind') === 'island-green'
|
||||
? new Style({ fill: new Fill({ color: '#35b86a' }), zIndex: 1 })
|
||||
: scene()
|
||||
? new Style({ fill: new Fill({ color: '#b7b9ad' }) })
|
||||
: simple('#9b7c40'),
|
||||
}),
|
||||
osm: new VectorLayer({
|
||||
source: source(),
|
||||
|
||||
Reference in new issue
Block a user