{"configurationSettings": [{"category": "General", "fields": [{"type": "itembrowser", "fieldName": "webmap", "conditions": ["4x"], "label": "Select", "itemTypes": ["Web Map", "Web Scene"], "defaultContent": true, "showOnLoad": true}, {"type": "appproxies"}, {"type": "subcategory", "label": "Map Navigation Options"}, {"type": "boolean", "fieldName": "rotation", "label": " Enable 2d map rotation"}, {"type": "conditional", "fieldName": "mapZoom", "condition": false, "label": "Map zoom controls", "items": [{"type": "options", "fieldName": "mapZoomPosition", "label": "Zoom control location", "tooltip": "Select location for zoom controls", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}]}, {"type": "conditional", "fieldName": "locate", "condition": false, "label": "Find current location", "tooltip": "Requires secure origin (https)", "items": [{"type": "options", "fieldName": "locatePosition", "label": "Locate control location", "tooltip": "Select location for location control", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}]}, {"type": "paragraph", "value": "If you are embedding this app into another page you might want to prevent map scroll"}, {"type": "boolean", "fieldName": "disableScroll", "label": "Prevent map scroll"}, {"type": "paragraph", "value": "Choose how image attachments will display in popups."}, {"type": "options", "fieldName": "popupDisplayAttachmentType", "label": "Popup attachments can be viewed in list or gallery mode", "options": [{"label": "Gallery", "value": "preview"}, {"label": "List", "value": "list"}]}, {"type": "conditional", "fieldName": "hoverPopup", "condition": false, "label": "Enable hover popups", "tooltip": "Show popup content on hover", "items": [{"type": "options", "fieldName": "hoverPopupType", "label": "Select hover popup type", "options": [{"label": "Fixed", "value": "fixed"}, {"label": "Floating", "value": "floating"}]}, {"type": "paragraph", "value": "Choose the location where the popup willl appear when the fixed option is selected."}, {"type": "options", "fieldName": "hoverPopupPosition", "label": "Fixed popup content location", "tooltip": "Select location for popup content", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}]}, {"type": "conditional", "fieldName": "details", "tooltip": "Add info panel", "label": "Info panel", "condition": false, "items": [{"type": "string", "fieldName": "detailsTitle", "label": "Title", "tooltip": "Detail panel title"}, {"type": "string", "fieldName": "detailsContent", "label": "Content", "tooltip": "Details panel content", "stringFieldOption": "richtext"}, {"type": "options", "fieldName": "detailsPosition", "label": "Detail panel location", "tooltip": "Select location for panel", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}, {"type": "conditional", "condition": false, "fieldName": "showPanelTheme", "label": "Optional color theme", "items": [{"type": "paragraph", "value": "By default the panel will have an off white background with dark gray text. If your organization has a shared theme the theme's background and text color will be used. Use the options below if you want to modify the pre-defined values."}, {"type": "color", "label": "Panel background color", "fieldName": "detailsBackgroundColor"}, {"type": "color", "label": "Panel text color", "fieldName": "detailsTextColor"}]}]}, {"type": "conditional", "fieldName": "splash", "tooltip": "Add splash screen", "label": "Splash screen", "condition": false, "items": [{"type": "string", "fieldName": "splashTitle", "label": "Title", "tooltip": "Splash screen title"}, {"type": "string", "fieldName": "splashContent", "label": "Content", "tooltip": "Splash screen content", "stringFieldOption": "richtext"}, {"type": "string", "fieldName": "splashButtonText", "label": "Button label", "tooltip": "Define label for the accept button"}]}, {"type": "paragraph", "value": "Use the Custom css option to add css that overwrites rules in the app."}, {"type": "string", "fieldName": "customstyle", "tooltip": "Custom css", "label": "Custom css"}]}, {"category": "Options", "fields": [{"type": "conditional", "fieldName": "home", "label": "Home extent", "condition": false, "items": [{"type": "options", "fieldName": "homePosition", "label": "Home location", "tooltip": "Select location for home control", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}]}, {"type": "conditional", "fieldName": "share", "label": "Social Sharing", "condition": false, "items": [{"type": "options", "fieldName": "sharePosition", "label": "Share location", "tooltip": "Select location for share control", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}, {"type": "boolean", "fieldName": "shareIncludeEmbed", "label": "Include embed sharing option"}, {"type": "boolean", "fieldName": "shareIncludeServices", "label": "Include social media options"}, {"type": "boolean", "fieldName": "shareIncludeCopy", "label": "Include copy url option"}]}, {"type": "conditional", "fieldName": "print", "label": "Print", "condition": false, "items": [{"type": "options", "fieldName": "printPosition", "label": "Print location", "tooltip": "Select location for print control", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}]}, {"type": "conditional", "fieldName": "layerList", "label": "Layer List", "condition": false, "items": [{"type": "options", "fieldName": "layerListPosition", "label": "Layer list  location", "tooltip": "Select location for layer list", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}, {"type": "conditional", "fieldName": "layerListAddLegend", "label": "Add legend to layer list", "condition": false, "items": [{"type": "boolean", "fieldName": "layerListShowLegendOnLoad", "label": "Show legend as open when loaded"}]}, {"type": "boolean", "fieldName": "layerListOpenAtStart", "label": "Layer list open at start"}]}, {"type": "conditional", "fieldName": "legend", "label": "Legend", "condition": false, "items": [{"type": "options", "fieldName": "legendPosition", "label": "Legend location", "tooltip": "Select location for legend", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}, {"type": "boolean", "fieldName": "legendOpenAtStart", "label": "Legend open at start"}, {"type": "paragraph", "value": "Display the legend using the default style or the card style. The card style is a responsive style that displays the legend with a horizontal layout in large views and a compact card layout in small views."}, {"type": "options", "fieldName": "legendStyle", "label": "Legend style", "options": [{"label": "Default", "value": "default"}, {"label": "Card", "value": "card"}]}]}, {"type": "conditional", "fieldName": "fullscreen", "label": "Fullscreen", "condition": false, "items": [{"type": "paragraph", "value": "Note: Fullscreen does not display the app full screen if the app is embedded into another page using an iframe."}, {"type": "options", "fieldName": "fullscreenPosition", "label": "Fullscreen location", "tooltip": "Select location for fullscreen control", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}]}, {"type": "conditional", "fieldName": "bookmarks", "label": "Bookmarks", "condition": false, "items": [{"type": "options", "fieldName": "bookmarksPosition", "label": "Bookmark location", "tooltip": "Select location for bookmark control", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}]}, {"type": "conditional", "fieldName": "basemapToggle", "label": "Basemap Toggle", "condition": false, "items": [{"type": "options", "fieldName": "basemapTogglePosition", "label": "Bookmark location", "tooltip": "Select location for basemap toggle control", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}, {"type": "basemaps", "fieldName": "basemapToggleAltBasemap", "label": "Alternate basemap for toggle"}]}, {"type": "color", "fieldName": "highlightColor", "label": "Selection color"}, {"type": "conditional", "fieldName": "insetMap", "label": "Inset map", "condition": false, "items": [{"type": "options", "fieldName": "insetPosition", "label": "Inset map location", "tooltip": "Select location for inset map", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}, {"type": "scaleList", "fieldName": "insetScale", "label": "Scale for inset map"}, {"type": "paragraph", "value": "By default the inset map will use the same base map as the map map. If you'd like to use a different base map select it from the list below."}, {"type": "basemaps", "fieldName": "insetBasemap", "label": "Basemap for inset map"}, {"type": "radio", "fieldName": "insetStyle", "label": "Inset Map Style", "items": [{"label": "Round", "value": "round", "checked": true}, {"label": "Square", "value": "square"}]}, {"type": "radio", "fieldName": "insetLocationStyle", "label": "Inset symbol style", "items": [{"label": "Rectangle", "value": "extent"}, {"label": "Marker", "value": "marker"}]}]}]}, {"category": "Search", "fields": [{"type": "conditional", "fieldName": "search", "label": "Search", "condition": false, "items": [{"type": "search", "fieldName": "searchConfig", "label": "Configure search options"}, {"type": "options", "fieldName": "searchPosition", "label": "Search location", "tooltip": "Select location for search control", "options": [{"label": "Top right", "value": "top-right"}, {"label": "Top left", "value": "top-left"}, {"label": "Bottom right", "value": "bottom-right"}, {"label": "Bottom left", "value": "bottom-left"}]}, {"type": "boolean", "fieldName": "searchOpenAtStart", "label": "Search open at start"}]}, {"type": "subcategory", "label": "Custom URL Parameter"}, {"type": "paragraph", "value": "Setup the app to support a custom url parameter. For example if your map contains a feature layer with parcel information and you'd like to be able to find parcels using a url parameter you can use this section to do so. Select a layer and search field then define the name of a custom param. Once you've defined these values you can append the custom search to your application url using the custom parameter name you define. For example, if I set the custom param value to parcels a custom url would look like this index.html?parcel=3045"}, {"placeHolder": "i.e. parcels", "label": "URL param name", "fieldName": "customUrlParam", "type": "string", "tooltip": "Custom URL param name"}, {"type": "layerAndFieldSelector", "fieldName": "customUrlLayer", "label": "Layer to search for custom url param value", "tooltip": "Url param search layer", "fields": [{"multipleSelection": false, "fieldName": "urlField", "label": "URL param search field", "tooltip": "URL param search field"}], "layerOptions": {"supportedTypes": ["FeatureLayer"], "geometryTypes": ["esriGeometryPoint", "esriGeometryLine", "esriGeometryPolyline", "esriGeometryPolygon"]}}]}], "values": {"showPanelTheme": false, "zoomLevels": false, "mapZoom": false, "mapZoomPosition": "top-left", "home": false, "rotation": true, "homePosition": "top-left", "disableScroll": false, "legend": false, "legendPosition": "top-left", "legendOpenAtStart": false, "legendStyle": "default", "layerList": false, "layerListAddLegend": false, "layerListShowLegendOnLoad": false, "layerListPosition": "top-left", "layerListOpenAtStart": false, "fullscreen": false, "fullscreenPosition": "top-right", "insetMap": false, "insetPosition": "bottom-left", "search": false, "searchPosition": "top-right", "searchOpenAtStart": true, "share": false, "sharePosition": "top-right", "shareIncludeEmbed": false, "shareIncludeServices": true, "shareIncludeCopy": true, "locate": false, "locatePosition": "top-left", "bookmarks": false, "bookmarksPosition": "top-right", "basemapToggle": false, "basemapTogglePosition": "bottom-left", "basemapToggleAltBasemap": "satellite", "print": false, "printPosition": "top-right", "details": false, "detailsPosition": "bottom-right", "splash": false, "highlightColor": "#00FFFF", "detailsBackgroundColor": "#fff", "detailsTextColor": "#333", "hideBasemap": false, "hoverPopup": false, "hoverPopupPosition": "bottom-left", "hoverPopupType": "floating", "popupDisplayAttachmentType": "list"}}