pixelRatio
Parameters
pixelRatio
the map custom pixel ratio. By default, it is set to null If provided and enabled in settings, supersedes both dayStyleUri and nightStyleUri.
IMPORTANT: 3D styles are very specific in the way they need to be built to support day/night mode switch. Consult with Mapbox Support before overriding this value.