80 point layer
Uncomment the following line to install geemap if needed.
In [1]:
Copied!
import geemap
import geemap
In [2]:
Copied!
# geemap.update_package()
# geemap.update_package()
In [3]:
Copied!
m = geemap.Map()
m = geemap.Map()
In [4]:
Copied!
url = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us_cities.geojson"
url = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us_cities.geojson"
In [5]:
Copied!
m.add_point_layer(url, popup=["name", "pop_max"], layer_name="US Cities")
m
m.add_point_layer(url, popup=["name", "pop_max"], layer_name="US Cities")
m
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Input In [5], in <cell line: 1>() ----> 1 m.add_point_layer(url, popup=["name", "pop_max"], layer_name="US Cities") 2 m AttributeError: 'Map' object has no attribute 'add_point_layer'
Last update:
2022-03-14