Release 0.17.0
New Features
- Make it possible to use Choropleth layer with data containing NaNs #972
- Add Map panes #999
- Allow setting Map.dragging #1001
- Add visible attribute to GeoJSON layer #1002
Deprecated API
-
Deprecate LegendControl properties
name
,legends
,positioning
, andpositionning
#979 and #1005. Update your code with the following substitutions for a LegendControllegend
:legend.name
->legend.title
legend.legends
->legend.legend
legend.positioning
->legend.position
legend.positionnning
->legend.position
The
name
argument in creating a LegendControl is also deprecated, please use thetitle
argument instead:LegendControl({}, title='My Title')
. -
Deprecate layer and control-specific method names for Map and LayerGroup, in favor of methods that work for both layers and controls #982. Update your code with the following substitutions for a Map
map
(or LayerGroup):map.add_control(...)
ormap.add_layer(...)
->map.add(...)
map.remove_control(...)
ormap.remove_layer(...)
->map.remove(...)
map.substitute_control(...)
ormap.substitute_layer(...)
->map.substitute(...)
map.clear_controls(...)
ormap.clear_layers(...)
->map.clear(...)
The inline operators still continue to work as before, such as
map += control
ormap -= layer
.
Maintenance
- Compute the public path automatically #988
Docs
New Contributors
- @whudson made their first contribution in #971
- @banesullivan made their first contribution in #976
- @xiaochen-db made their first contribution in #997
Full Changelog: 0.16.0...0.17.0