block by hugolpz c89a76096c070a5a7d23

Map zoom + static frame

Full Screen

Click States to test me !

Alternative of: Map zoom + responsive frame, with more details.

Exploration around automatic centering, zooming. This one has STATIC frame, the frame’s dimensions are not answering to the central shape.

Here, both the width and height are provided, definitively setting the canevas’ dimensions, which may be a relevant approach when waste of the webpage’s space is not important.

It is also projection proof.

Inspired by Centering a map given a GeoJSON object is the responsive frame.