Skip to content

v0.7.90

Latest

Choose a tag to compare

@mbloch mbloch released this 19 Oct 02:42
  • HTML output of several frames of different widths is one file that shows the frame that fits the width of its container (like ai2html's artboards), using CSS container queries. A page can embed several HTML maps.
  • HTML output with responsiveness=fixed (the default) shrinks to fit a container narrower than the map.
  • -graticule adds its output to the frame of its target layer, and accepts the + option (it always creates a new layer).
  • -shape accepts the + option (before, + was used as the layer name).
  • Fixed: -calc + deleted its target layer.
  • -rectangle + names its output layer rectangle (before, the layer was unnamed).
  • Added the NYT dot-and-ring icons nyt-target and nyt-target2 (icon= and -symbols type=).
  • Added two-hemisphere world projections: -proj hemispheres (Lambert Azimuthal Equal-Area) and -proj hemispheres2 (orthographic). The hemispheres are stacked vertically (or side by side with +horizontal) and can have separate centers (+lon_0 +lat_0, +lon_1 +lat_1) and a gap or overlap (+gap=; with a negative gap, the lower or right disk overlaps the other). Each disk shows a whole hemisphere, so when the centers are not opposite each other, the places visible from both centers appear in both disks (vector and raster layers). -graticule outline and -graticule polygon follow the two disks.
  • -projections lists the projections that only mapshaper supports (e.g. dymaxion, cupola, hemispheres) separately from the PROJ projections.