Edit page

ArcgisItemCard

A card for ArcGIS items to be displayed as a single UI element.

Import Syntax

Basic Usage

Internet Users per 100 Population by country, 2014

Maps.com_carto

Feb 11, 2016

Internet Users per 100 Population by Country, 2014. This is a filtered layer based on the ...

Vertical Usage

Internet Users per 100 Population by country, 2014

Maps.com_carto

Feb 11, 2016

Internet Users per 100 Population by Country, 2014. This is a filtered layer based on the ...

Basic Usage With Actions

Internet Users per 100 Population by country, 2014

Maps.com_carto

Feb 11, 2016

Internet Users per 100 Population by Country, 2014. This is a filtered layer based on the ...

Vertical Usage With Actions

Internet Users per 100 Population by country, 2014

Maps.com_carto

Feb 11, 2016

Internet Users per 100 Population by Country, 2014. This is a filtered layer based on the ...

Props

PropertyTypeRequiredDefaultDescription
showThumbnailBoolfalsetrueWhether the ArcgisItemCard should show a thumbnail or not.
maxDescriptionLengthNumberfalse90Number of characters to use before truncating the description text.
verticalBoolfalsefalseStyle prop to position Card content vertically
itemObjectfalse-The ArcGIS item used to populate the UI.
dateFormatterFuncfalse-A function that can be provided to customize the formatting of dates.
portalObjectfalse-AGOL portal object - if not specified will default to ArcGIS Online
tokenStringfalse-AGOL login token.
actionsObjectfalse-Whether the ArcgisItemCard shows an actions tab at the bottom or not
customTitleRendererFuncfalse-Function to render custom elements or values in the item card title
defaultThumbnailUrlStringfalse-String source URL to serve as default image for invalid thumbnails