web map legend title

342
1
Jump to solution
04-02-2020 03:52 PM
artzaifman
New Contributor III

How do I suppress the ugly legend title that's auto-populated when GIS().map(legend=True,...)?

0 Kudos
1 Solution

Accepted Solutions
artzaifman
New Contributor III

The only way to do this when map is type jupyter GIS().map() is by

  1. creating a feature class with spatial.to_feature_collection(name=..., drawing_info=[generated renderer (see step 2.)])
  2. generating a renderer with mapping.renderer.generate_renderer(..., label="foobar", ...)
  3. GIS().map.add_layer(feature_class)

View solution in original post

0 Kudos
1 Reply
artzaifman
New Contributor III

The only way to do this when map is type jupyter GIS().map() is by

  1. creating a feature class with spatial.to_feature_collection(name=..., drawing_info=[generated renderer (see step 2.)])
  2. generating a renderer with mapping.renderer.generate_renderer(..., label="foobar", ...)
  3. GIS().map.add_layer(feature_class)
0 Kudos