arcgis.apps.storymap module¶
StoryMap Implementation
JournalStoryMap¶
-
class
arcgis.apps.storymap.
JournalStoryMap
(item=None, gis=None)¶ Bases:
object
Represents a Journal Story Map
Argument
Description
item
Optional Item. The storymap item.
gis
Optional GIS. The connection to the Enterprise.
-
add
(title, url_or_item, content=None, actions=None, visible=True, alt_text='', display='stretch')¶ Adds a new section to the StoryMap
Argument
Description
title
Required string. The title of the section.
url_or_item
Required string/Item. The web address to the resource or a Web Map item.
content
Optional string. The content of the section.
actions
Optional list. A collection of actions performed on the section
visible
Optional boolean. If True, the section is visible on publish. If False, the section is not displayed.
alt_text
Optional string. Specifies an alternate text for an image.
display
Optional string. The image display properties.
- Returns
Boolean
-
delete
()¶ Deletes the saved item on ArcGIS Online/Portal
-
property
header
¶ gets/sets the headers for the Journal StoryMap
-
property
panel
¶ Gets/Sets the panel state for the Journal Story Map
-
property
properties
¶ returns the storymap’s JSON
-
remove
(index)¶ Removes a section by index.
Argument
Description
index
Required integer. The position of the section to remove.
- Returns
Boolean
-
save
(title=None, tags=None, description=None)¶ Saves an Journal StoryMap to the GIS
Argument
Description
title
Optional string. The title of the StoryMap.
tags
Optional string. The tags of the StoryMap.
description
Optional string. The description of the StoryMap
- Returns
Boolean
-
property
theme
¶
-