Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

地图实例设置cssFilter不起作用 #22

Open
IIIzz opened this issue Nov 5, 2021 · 0 comments
Open

地图实例设置cssFilter不起作用 #22

IIIzz opened this issue Nov 5, 2021 · 0 comments

Comments

@IIIzz
Copy link

IIIzz commented Nov 5, 2021

使用MapboxglLayer,给地图实例设置cssFilter不起作用,如何设置
cssFilter baseLayer : new MapboxglLayer('mapboxgl',{
glOptions : {
'style' : 'mapbox://styles/mapbox/satellite-v9',
},
cssFilter: 'filter: invert(0) sepia(0) saturate(1.25) hue-rotate(0deg) brightness(1.15) contrast(1.35) grayscale(0.5)'
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant