elastic / ems-client

JavaScript Client library for Elastic Maps Service
Other
10 stars 10 forks source link

Style modifications on runtime #45

Closed jsanz closed 1 year ago

jsanz commented 4 years ago

The initial trigger for this issue was:

This more a discussion topic, but could we embed the logic to generate the desaturated style into the ems client so we only have to maintain the default style and maybe even going further, consider to parametrize the process so we can modify the map to go not just to gray but to other colors based on user needs?

But we could take a more generic approach and discuss bigger modifications to the styles upon parameterization, so a few ideas:

Mapbox studio monochrome themes ![Peek 2020-12-09 17-06](https://user-images.githubusercontent.com/188264/101655763-42543700-3a42-11eb-8e37-ac4f479b2a91.gif)
Mapbox studio color components ![Peek 2020-12-09 17-14](https://user-images.githubusercontent.com/188264/101655677-26e92c00-3a42-11eb-8e9e-c20c614e28cd.gif)
Datawrapper locator map themes ![Peek 2020-12-09 16-59](https://user-images.githubusercontent.com/188264/101653986-4717eb80-3a40-11eb-81ef-2e564eacbf4c.gif)
jsanz commented 1 year ago

This was implemented at https://github.com/elastic/ems-client/pull/105