In [ ]:
from __future__ import print_function
from ipyleaflet import (
Map,
Marker,
TileLayer, ImageOverlay,
Polyline, Polygon, Rectangle, Circle, CircleMarker,
GeoJSON,
DrawControl
)
In [ ]:
center = [39.9610845, -75.1540457]
zoom = 14
In [ ]:
m = Map(center=center, zoom=zoom)
m
In [ ]:
# Or any other appropriate url
carto_url = (
'https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png'
)
m.clear_layers()
m.add_layer(TileLayer(url=carto_url))