← Back to home
Comparison · Analytics

maplegend vs mapsf

A side-by-side editorial comparison of maplegend and mapsf — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:cartographybase-graphicsspatialr-package

maplegend vs mapsf: at a glance

Featuremaplegendmapsf
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themescartography, legends, base-graphics, spatialcartography, thematic-maps, spatial, base-graphics
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is maplegend?

The legend engine mapsf spun out, now covering legend types the parent map package can draw.

maplegend draws the legends for base-R thematic maps, extracted from mapsf so both packages could evolve the legend vocabulary independently. It has been catching up to the map types it has to serve: 0.6.0 added choro_point, choro_line, and choro_symb for choropleth legends rendered on circles, lines, and symbols, following the histogram legend type in 0.4.0. Considerable effort has gone into behaving correctly when the plot aspect ratio is not 1, which required refactoring most of the package in 0.4.0 and still produced a proportional-symbol segment sizing fix in 0.6.3.

Read the full maplegend trajectory →

What is mapsf?

Thematic mapping in base R that finally got a theming system, then spent two years polishing legends.

mapsf produces thematic maps on R's base graphics device — choropleths, proportional symbols, typology maps, rasters, and their combinations, with legends, scale bars, north arrows, and insets as composable elements. Version 1.0.0 was the structural release, introducing a theming system that deprecated eight scattered styling arguments and adding mf_png() and mf_svg() export helpers plus alpha transparency across map types. The 1.1.x and 1.2.x line since then has been steady refinement: background and extent control on the drawing functions, decimal and thousands-separator control in legends, and label placement arguments.

Read the full mapsf trajectory →

maplegend vs mapsf: editorial side-by-side

M
maplegend
ANALYTICS
0.0

The legend engine mapsf spun out, now covering legend types the parent map package can draw.

◆ Current state

maplegend draws the legends for base-R thematic maps, extracted from mapsf so both packages could evolve the legend vocabulary independently. It has been catching up to the map types it has to serve: 0.6.0 added choro_point, choro_line, and choro_symb for choropleth legends rendered on circles, lines, and symbols, following the histogram legend type in 0.4.0. Considerable effort has gone into behaving correctly when the plot aspect ratio is not 1, which required refactoring most of the package in 0.4.0 and still produced a proportional-symbol segment sizing fix in 0.6.3.

◆ Where it's heading

This is a support library whose backlog is defined by its caller. Every legend type mapsf can produce needs a matching legend renderer, and the release notes are dominated by spacing, offset, and border details — box_cex for symbol spacing, NA box placement in horizontal choropleth legends, text overflow when no_data is set. The shared vocabulary with mapsf is being maintained deliberately, with val_rnd, val_big, and val_dec propagating through legend types release by release. Version numbering is not monotonic in this feed, with 0.4.0 published seconds after 0.5.0.

◆ Prediction

Expect the remaining combined map types to acquire matching legends and the val_* formatting arguments to reach the types that still lack them.

M
mapsf
ANALYTICS
0.0

Thematic mapping in base R that finally got a theming system, then spent two years polishing legends.

◆ Current state

mapsf produces thematic maps on R's base graphics device — choropleths, proportional symbols, typology maps, rasters, and their combinations, with legends, scale bars, north arrows, and insets as composable elements. Version 1.0.0 was the structural release, introducing a theming system that deprecated eight scattered styling arguments and adding mf_png() and mf_svg() export helpers plus alpha transparency across map types. The 1.1.x and 1.2.x line since then has been steady refinement: background and extent control on the drawing functions, decimal and thousands-separator control in legends, and label placement arguments.

◆ Where it's heading

The package has been consolidating control into fewer, more consistent places. Legend handling moved out to the maplegend package in 0.8.0 and the per-element mf_legend_* functions were deprecated in favor of arguments on the map calls themselves; theming replaced ad-hoc style arguments in 1.0.0; and recent releases keep propagating the same argument vocabulary — bg, extent, leg_val_rnd, leg_val_dec, leg_val_big — across every function that should accept it. Determinism is a visible concern too, with 1.2.1 fixing a seed so mf_distr() point positions stop moving between runs.

◆ Prediction

The recent releases are almost entirely argument-parity work across existing functions, so expect that to continue until the vocabulary is uniform rather than any new map type appearing.

Alternatives to maplegend and mapsf

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either maplegend or mapsf.

See all maplegend alternatives → · See all mapsf alternatives →

Recent activity from maplegend and mapsf

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 1mo agomapsfLabel placement arguments and deterministic distribution plots
  2. 2mo agomaplegendContinuous legend formatting and aspect-ratio segment fix
  3. 2mo agomapsfBackground and extent control across the drawing functions
  4. 4mo agomaplegendChoropleth legends on points, lines and symbols
  5. 7mo agomaplegendPackage-wide refactor for non-unity aspect ratios, histogram legends
  6. 7mo agomaplegendSingle-modality legends allowed for typo, symb and prop_line
  7. 7mo agomapsfPNG resolution control and legend number formatting
  8. 1y agomaplegendAlpha transparency and redraw on device resize
  9. 1y agomaplegendOffset and symbol sizing aligned with mapsf
  10. 1y agomapsf1.0.0 introduces theming and deprecates eight style arguments
  11. 1y agomapsfPencil-sketch layers, ckmeans breaks, and border extraction
  12. 2y agomapsfGraticule label display fix

Frequently asked questions

What is the difference between maplegend and mapsf?

Both compete on the same themes — cartography, base-graphics, spatial, r-package — within Analytics. maplegend and mapsf are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is maplegend better than mapsf?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. maplegend and mapsf are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to maplegend?

Top maplegend alternatives in Analytics are ranked by recent ship velocity. Browse the "maplegend alternatives" section above for the current picks, or visit /alternatives/maplegend for the full list with editorial commentary on each.

What are the best alternatives to mapsf?

Top mapsf alternatives in Analytics are ranked by recent ship velocity. Browse the "mapsf alternatives" section above for the current picks, or visit /alternatives/mapsf for the full list with editorial commentary on each.