Replies: 1 comment 3 replies
-
Interesting. Maybe a bug in OpenLayers. But may I suggest you change the style to make it more efficient? [
{
id: 'place_1',
type: 'circle',
source: 'openmaptiles',
'source-layer': 'place',
paint: {
'circle-radius': 20,
'circle-color': '#588',
'circle-stroke-color': '#7aa',
'circle-stroke-width': 4
},
},
{
id: 'place_2',
type: 'symbol',
source: 'openmaptiles',
'source-layer': 'place',
layout: {
'icon-image': 'airport_11',
},
},
] This also fixes your problem. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use three layers with one source. The third layer is not displayed. If you erase the second layer, the last one will be drawn.
https://codesandbox.io/p/sandbox/attributions-forked-ymsvrf?workspaceId=4c85bd12-2428-448e-8638-7ecd9fd42a9f
Beta Was this translation helpful? Give feedback.
All reactions