Skip to content

Commit

Permalink
Revert change from jupyter-widgets#965 that sets the default zoom to …
Browse files Browse the repository at this point in the history
…None
  • Loading branch information
martinRenou committed Oct 27, 2022
1 parent aabb752 commit cf11e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipyleaflet/leaflet.py
Original file line number Diff line number Diff line change
Expand Up @@ -2356,7 +2356,7 @@ class Map(DOMWidget, InteractMixin):

# Map options
center = List(def_loc).tag(sync=True, o=True)
zoom = CFloat(default_value=None, allow_none=True).tag(sync=True, o=True)
zoom = CFloat(12).tag(sync=True, o=True)
max_zoom = CFloat(default_value=None, allow_none=True).tag(sync=True, o=True)
min_zoom = CFloat(default_value=None, allow_none=True).tag(sync=True, o=True)
zoom_delta = CFloat(1).tag(sync=True, o=True)
Expand Down

0 comments on commit cf11e77

Please sign in to comment.