Glodenox / wme-om

Waze Map Editor - Open Maps userscript
GNU General Public License v2.0
8 stars 7 forks source link

Provide a semi-transparent white layer or add CSS filters for layers #68

Closed Glodenox closed 4 years ago

Glodenox commented 5 years ago

Some maps that display text can become very unreadable when shown over satellite imagery. Either somehow have the option to add a semi-transparent white layer, bundle such layers with such a layer underneath or allow adding filters (like the brightness filter) to map layers.

Glodenox commented 4 years ago

Probably even better: it is possible to modify the pixel data of the images if we retrieve the images with crossOriginKeyword: 'anonymous' set on the OpenLayers layers. This does require the server to set the Access-Control-Allow-Origin "*" header though, which I think isn't the case for all sources.

Glodenox commented 4 years ago

Manipulations of the map tiles have been added in version v3.1.0. Instead of trying to play around with brightness, we can now adjust the image data so the map becomes more readable.