Skip to content

v0.2.8

Latest
Compare
Choose a tag to compare
@floledermann floledermann released this 05 Jul 08:04
· 3 commits to master since this release

New

  • New method Map.symbolizeAttribute() to assign any SVG attributes from data.
  • New method Map.zOrder() to determine ordering of SVG elements
  • Symbol depictions in HTML legend are SVG based now, for flexibility and consistency.
  • New attributes reverse(boolean) and order (function) in HTML legend options to control ordering of classes
  • Accessor functions for map panes (SVG (g)roup elements): Map.getGeometryPane(), Map.getOverlayPane(), Map.getFixedPane().
  • Accessor function for path generator (d3.geo.path): Map.getPathGenerator()

Changes

  • Map.choropleth() is now deprecated - use Map.symbolize(mapmap.symbolize.choropleth(…)) instead
  • Map.hoverInfo() shows up only if there is text to be shown
  • Map.projection() now returns the projection if called without parameters
  • New option for Map.geomtry(): setExtent (default: true) to determine whether map extent should be set to geometries' extent on load
  • Map.geometry() now also accepts single GeoJSON objects

Fixes

  • Fix hoverInfo to hide properly on fast mouse movements