Releases
v0.2.8
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
You can’t perform that action at this time.