@americana/maplibre-shield-generator
    Preparing search index...

    Function getDOMPixelRatio

    • Get the Maplibre pixel reation being used in this browser. This determines which sprite sheet is used and whether or not to double dimensions on graphics draws.

      Returns 1 | 2

      Returns either 1 or 2 for "1x" or "2x+" displays.