Complete the code to add a map layer showing state boundaries.
MapLayers.AddLayer([1])The StateBoundaries layer adds the outlines of states on the map.
Complete the code to set the map layer opacity to 50%.
MapLayers.SetOpacity([1])Opacity values range from 0 (transparent) to 1 (opaque). 0.5 means 50% opacity.
Fix the error in the code to add a heatmap layer.
MapLayers.AddLayer([1])The correct layer name is HeatmapLayer with exact casing and no underscores.
Fill both blanks to create a map layer with circle markers and set its color to blue.
layer = MapLayers.CreateLayer([1]) layer.SetColor([2])
CircleMarkers creates circle points on the map, and Blue sets their color.
Fill all three blanks to add a polygon layer, set its fill color to green, and set opacity to 0.3.
polyLayer = MapLayers.AddLayer([1]) polyLayer.SetFillColor([2]) polyLayer.SetOpacity([3])
PolygonLayer adds polygon shapes, Green sets fill color, and 0.3 sets 30% opacity.
