codehub-rony / map-styler

A simple and esay UI for creating map box styles for feature layers
7 stars 0 forks source link

Implement a utility function in `BaseLayer` for generating random color #26

Closed codehub-rony closed 5 months ago

codehub-rony commented 7 months ago

Every new layer is created with the default color. From UX point fo view it would be better to assign a random color so that a quick visual check can be performed if the filter on the layer is working.

Function can also be used for auto styling functionalities. See #22