Skip to content

Commit 94cc2e7

Browse files
committed
Tweak changelog wording
1 parent 8351f11 commit 94cc2e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ Here are some highlights of changes in this version. See the full list of change
1818
* `legend.positionnning` -> `legend.position`
1919

2020
The `name` argument in creating a LegendControl is also deprecated, please use the `title` argument instead: `LegendControl({}, title='My Title')`.
21-
* Deprecate layer and control-specific methods for maps, in favor of methods that work for both layers and controls [#982](https://github.com/jupyter-widgets/ipyleaflet/pull/982). Update your code with the following substitutions for a Map `map`:
21+
* Deprecate layer and control-specific method names for Map and LayerGroup, in favor of methods that work for both layers and controls [#982](https://github.com/jupyter-widgets/ipyleaflet/pull/982). Update your code with the following substitutions for a Map `map` (or LayerGroup):
2222
* `map.add_control(...)` or `map.add_layer(...)` -> `map.add(...)`
2323
* `map.remove_control(...)` or `map.remove_layer(...)` -> `map.remove(...)`
24-
* `map.remove_control(...)` or `map.remove_layer(...)` -> `map.remove(...)`
2524
* `map.substitute_control(...)` or `map.substitute_layer(...)` -> `map.substitute(...)`
2625
* `map.clear_controls(...)` or `map.clear_layers(...)` -> `map.clear(...)`
2726

0 commit comments

Comments
 (0)