In [1]:
from leafletwidget import (
Map,
Marker,
TileLayer, ImageOverlay,
Polyline, Polygon, Rectangle, Circle, CircleMarker,
GeoJSON,
DrawControl
)
from leafletwidget import initialize_notebook
In [2]:
from IPython.html import widgets
from IPython.display import display
In [3]:
initialize_notebook()
In [11]:
center = [34.6252978589571, -77.34580993652344]
zoom = 10
In [12]:
c = widgets.ContainerWidget()
m = Map(width='600px',height='400px', center=center, zoom=zoom)
c.children = [m]
In [13]:
display(c)
In [ ]: