Kentcbs
In [1]:
Copied!
import kentcbs
from ipyleaflet import Map, Marker, MarkerCluster, Popup, SearchControl
import kentcbs
from ipyleaflet import Map, Marker, MarkerCluster, Popup, SearchControl
In [2]:
Copied!
m = kentcbs.Map(center=[36,36],zoom=4)
m
m = kentcbs.Map(center=[36,36],zoom=4)
m
Out[2]:
In [3]:
Copied!
url ="https://nominaim.openstreetmap.org/search?format=json&q={s}"
url ="https://nominaim.openstreetmap.org/search?format=json&q={s}"
In [4]:
Copied!
m = kentcbs.Map(center=[36,36],zoom=4)
m.add_search_control(position='topleft', zoom=4, url=url)
m
m = kentcbs.Map(center=[36,36],zoom=4)
m.add_search_control(position='topleft', zoom=4, url=url)
m
Out[4]:
In [17]:
Copied!
In [5]:
Copied!
m.add_search_control(position='topleft', zoom=4, url=url)
m.add_search_control(position='topleft', zoom=4, url=url)
In [6]:
Copied!
m = kentcbs.Map(zoom=3, center=[19.1646, 72.8493])
m.add(SearchControl(
position="topleft",
url='https://nominatim.openstreetmap.org/search?format=json&q={s}',
zoom=5,
))
m
m = kentcbs.Map(zoom=3, center=[19.1646, 72.8493])
m.add(SearchControl(
position="topleft",
url='https://nominatim.openstreetmap.org/search?format=json&q={s}',
zoom=5,
))
m
Out[6]: