Different look of the map on full screen and when embed on website

16 views
Skip to first unread message

NN

unread,
Sep 27, 2018, 4:31:16 AM9/27/18
to MapTiler Community
Hi!

I use vector map and OpenLayers to display it. When I enable fullscreen mode, my map style changes and is like in the editor in MapTiler. When the map is displayed in a smaller window, its style is different - brighter. What could be the reason?

Full screen

Zrzut ekranu z 2018-09-27 10:22:11.png



Map on site 


Zrzut ekranu z 2018-09-27 10:21:51.png


NN

unread,
Sep 27, 2018, 4:34:43 AM9/27/18
to MapTiler Community
I would like to add, that the style of the map is created by me, it is an edited style of "Bright".

NN

unread,
Sep 27, 2018, 9:16:57 AM9/27/18
to MapTiler Community
I have a solution. I replaced background color: rgba(245, 245, 245, 0.92), by this: rgba(227, 227, 227, 1) it's the same, but color alpha is 1. Alpha is not recognized correctly by OpenLayers.
Reply all
Reply to author
Forward
0 new messages