Skip to main content

MAP_SHAPE_ATTRIBUTE

The attribute the pre-paint script puts on the root element, with the value globe, when the stored map shape is a globe, so the placeholder painted before the app mounts already shows the space around a globe.

This is a constant exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { MAP_SHAPE_ATTRIBUTE } from "@mapcairn/core";

MAP_SHAPE_ATTRIBUTE = "data-map-shape"

Source: packages/core/src/theme/themeConstants.ts:29