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

Allow clients to specify label styling #527

Open
nickgaray opened this issue Sep 30, 2021 · 3 comments
Open

Allow clients to specify label styling #527

nickgaray opened this issue Sep 30, 2021 · 3 comments

Comments

@nickgaray
Copy link
Collaborator

image
Label styling, such as color and optionally border should be allowed for any PointMarkerLayer.

@nickgaray
Copy link
Collaborator Author

The example image provided shows a black label with white outline

@mdhsl
Copy link
Member

mdhsl commented Sep 30, 2021

I agree, the biggest difficulty is to have something homogeneous between the different views. But for now, we can add the properties in the Layer and implement them in the Cesium view

@alexrobin
Copy link
Member

Instead of doing something specific for Cesium label outlines, I think it would be better to have a general mechanism to add any custom configuration that is specific to a particular view implementation (i.e. not handled by generic styler properties). It could be done via a callback providing the graphical object created by the view impl for example, so it can be further customized.

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

No branches or pull requests

3 participants