Skip to content

Commit

Permalink
Use image layer in python API
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmooney committed Jan 9, 2025
1 parent 827deb2 commit 3097809
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def add_image_layer(
source_id = self._add_source(OBJECT_FACTORY.create_source(source, self))

layer = {
"type": LayerType.RasterLayer,
"type": LayerType.ImageLayer,
"name": name,
"visible": True,
"parameters": {"source": source_id, "opacity": opacity},
Expand Down

0 comments on commit 3097809

Please sign in to comment.