Add a map with buttons and bookmarks
There are hundreds of languages in India, all with overlapping territories. This results in a complicated geographic story that is difficult to communicate with symbols and pop-ups alone. You'll use ArcGIS Experience Builder to build a web app that guides a viewer's experience of the map. You'll also add buttons that expose more information, and bookmarks that allow people to view only one language on the map at a time.
Create a mapcentric app
The map that you'll use for this lesson is a thematic map, meaning that it focuses on a specific theme (languages in India). It is different from a reference or topographic map, which describes the physical environment. The information that you include in the map's layout helps to communicate the theme or story.
In this case, the map is the best communication device for your story, so you'll make an app that features it as the largest item and has text and other information off to the side. This kind of design is often referred to as mapcentric
- Open the Languages of India web map and sign in.
If you don't have an organizational account, you can sign up for an ArcGIS free trial.
The map for this lesson was already prepared with symbology and pop-ups. It shows where 21 languages are spoken as a mother tongue in India. The data is from the 2011 government census. The opacity of the color indicates the percentage of speakers. For example, if a district has a 50 percent transparent purple color, half of the people there speak Telugu as their mother tongue.
The census defines mother tongue as "the language spoken in childhood by the person's mother to the person." In the absence of a mother, the main language spoken in the childhood home is listed as the mother tongue.
The map needs a legend and other surround information. For web maps, this information is usually presented in a web app. There are several kinds of web apps in ArcGIS, including Dashboards, StoryMaps, and Instant Apps. You'll use ArcGIS Experience Builder for this map because you need to customize the tools and design.
- On the top toolbar, click the app launcher button and click Experience Builder.
If you can't find ArcGIS Experience Builder, click Show More, or go to ArcGIS Experience Builder.
ArcGIS Experience Builder appears in a new tab. Optionally, you can close the original tab with the Languages of India web map; it is no longer needed.
- Click Create new.
A list of templates appears that you can use to create common layout designs. For this lesson, you'll start with a blank canvas. You'll use the fullscreen page type, which allows you to place widgets on the canvas at any position, even overlapping one another.
- Under Blank fullscreen, click Create.
- If a Getting started window appears, click Skip.
A blank canvas appears, where you will build your web app. Apps built with Experience Builder are also called web experiences.
- At the bottom of the screen next to the zoom controls, click the Fit width to current window button.
- In the Page 1 pane, turn on Header. Change Height to 45 px.
You can also change the color of the header in this pane, but instead, you'll change the color theme, which will affect the entire app, not just the header.
- On the side toolbar, click the Theme button. On the Theme pane, click Vivid.
The page header changes to orange. Themes help to ensure that consistent colors and fonts are used throughout the design.
Next, you'll add the map. You want the map to be the main focus, so you'll make it fill the entire page.
- On the side toolbar, click the Insert button. In the Insert widget pane, click Map and drag it onto the canvas
A toolbar appears above the new map.
- On the map's toolbar, click the alignment button and click Full size.
A default map is shown. You'll replace it with your map of languages in India.
- In the Map 1 pane, click Select map.
- At the bottom of the Select data pane, click Add new data.
The Add data page appears.
- Click the ArcGIS Online tab. In the search bar, type Languages of India owner:Learn_ArcGIS and press Enter.
- Select the Languages of India web map and click Done.
- In the Select data pane, click Languages of India.
The map appears on the canvas and in the Map 1 pane.
- Close the Select data pane.
- At the top of the screen, on the builder toolbar, click the Live view button. Click some of the district polygons on the map.
The pop-up lists all of the languages that are spoken in that district as a mother tongue. Instead a long table of fields, only the relevant information is included in the pop-up, and it is formatted to be easy to read. Good pop-up design is essential to making effective thematic maps.
To see how these pop-ups were configured with text and an Arcade expression, open the Languages of India web map.
- Close the pop-up and turn off Live view.
- On the builder toolbar, click the Rename experience button and type Languages of India, followed by your initials.
- On the builder toolbar, click the Save button.
You've now set up an app with the map as the main focus. The next goal on your criteria list is to provide some context for people who may be unfamiliar with the topic. You'll add some buttons so people can access this information without taking up too much space on the layout.
- On the side toolbar, click the Insert button.
- From the Insert widget pane, drag a Button widget onto the canvas. Place it on top of the map, near the lower left corner.
- In the Button 1 pane, for Text, type How many languages are spoken in India?.
- On the Quick style window, click the second (orange) button style.
- Close the Quick style window and drag the edges of the button until it is wide enough to show all of the text.
- On the button's toolbar, click the Duplicate button.
A copy of the button appears.
- On the new button's toolbar, click the Duplicate button to make another copy.
- Drag the new buttons to place them above the original button so they are stacked in the corner of the app.
- Click the bottom button to select it.
- At the top of the Button 1 pane, click the edit button next to Button 1 and rename it Official languages button.
- Change the Text to What is the official language?
- Click the middle button and rename it Map languages button. Change its Text to Which languages are shown on this map?
- Click the top button and rename it Number of languages button.
Add windows and connect them to the buttons
You'll configure the buttons so when they are clicked, a ToolTip-style window will appear with text. First, you need to create those windows.
- On the side toolbar, click the Page button and click the Window tab. Click the Add window button.
- Scroll down and choose Tooltip.
A new window appears on the canvas.
- In the Window pane, rename Window 1 to Official language.
- On the canvas, select the Title text. On the text's toolbar, click the Delete button.
- Also delete the image.
- Select the text. Double-click and paste the following:
Each state or territory can name its own official languages. The official language of India is Hindi in Devanagari script, but English may also be used for official purposes. This use of English was tentatively planned to end in 1965, but the change was met with resistance from parts of the country that did not speak Hindi natively.
Use Ctrl+Shift+V or Command+Shift+V to paste the text without its original formatting.
The text does not fit properly inside the window yet. You'll change the size of both the window and the text block to make it fit.
- Click outside of the text to select the window. On the Official language pane, under Size, set width to 250 px. Set height to 220 px.
- Select the text and drag its sides until it is almost as wide as the window. On the text's toolbar, click the alignment button and choose Horizontal center. Click the alignment button again and choose Vertical center.
You'll make a two more windows, so there is one for each of the orange buttons.
- In the Window pane, point to Official languages and click the More button. Click Duplicate.
- Rename the Official languages copy window to Map languages.
- Replace the text on the window with the following:
India has no national language, but 22 languages are named in the Eighth Schedule to the Constitution of India. The status of scheduled obligates the government to promote these languages.
This map shows where each of the scheduled languages is spoken as a mother tongue, according to the 2011 census.
- Make another duplicate of one of the windows. Rename it Number of languages.
- Replace the text in the Number of languages window with the following:
The Census of India 2011 names 273 languages. Other sources list up to 780. The difference between counts is explained by the difficulty in defining a language versus a dialect.
Next, you'll connect the buttons to their windows.
- In the Window pane, click the Page tab.
- On the canvas, click the What is the official language? button. In the Official language button pane, click Set link.
- In the Set link pane, for Link to, choose Window. For Select a window, choose Official language.
- Click OK.
- Click the Which languages are shown on this map? button and link it to the Map languages window.
- Click the How many languages are spoken in India? button and link it to the Number of languages window.
- Turn on Live view and click the new buttons to test them.
Add bookmarks to display one language at a time
The map needs a legend to explain which language each color represents. However, there are so many colors that simply adding a list of them will not be helpful. When a legend lists more than five colors, it can become difficult to interpret. In this case, it is difficult to distinguish between the different greens used to represent Manipuri, Sindhi, Santali, and Punjabi. Instead of a traditional legend, you'll add bookmarks, which will allow people to view one language at a time. This will accomplish two of the goals from the list of design criteria:
- The map symbols should be clearly and simply explained.
- The app should allow viewers to explore one language at a time, or all languages at once.
- Turn off Live view.
- From the Insert widget pane, drag a Bookmark widget onto the canvas and place it over the right side of the map.
Bookmarks allow you to guide the viewer's experience of the map. Each bookmark can zoom the map to a defined location and can also control which layers are visible.
- In the Bookmark 1 pane, accept the default template choice. At the bottom of the pane, click Next.
- For Select a Map widget, choose Map 1.
The first bookmark you add will be the same as the default view, showing all languages.
- Click Add bookmark.
A preview window appears.
- Click Save.
- In the Bookmark 1 pane, click Bookmark-1 and rename it All languages.
Now you'll add bookmarks that allow people to view only one language at a time.
- Click Add bookmark. Rename Bookmark-2 as Hindi.
- On the preview window, click the layers button. Turn off visibility for all layers except for:
- Pop-ups for no-data
- India outline
- Position the map so the yellow area is in the center and click Save.
- Add another bookmark and name it Bengali.
- On the preview window, in the Layers list, turn off visibility for Hindi and turn on visibility for Bengali.
- Zoom and pan to place the blue area of the map in the center of the preview window. Click Save.
- Add another bookmark. Rename it Marathi and make Marathi the only visible language layer on the map. Position the turquoise part of the map in the center of the preview window and click Save.
- Add 18 more bookmarks for the remaining language layers:
If you do not add all 18 bookmarks, you can still complete the rest of this lesson.
- Close the preview window.
- On the canvas, click the bookmark widget. On its toolbar, click the alignment button and click Snap to right.
- Click the alignment button again and click Full height. Drag the left side of the bookmark widget so two columns of bookmarks are visible.
- Turn on Live view and click some of the bookmarks to test them.
They should each zoom to the selected language and display only that language.
Even though only one language is shown at a time, the pop-ups should still appear for every district in India, since they are stored on a separate, invisible layer.
If you're unhappy with one of the bookmarks, find it in the Bookmark 1 pane and click the Change the bookmark view button to reopen the preview window.
- Click the All languages bookmark and turn off Live view. On the builder toolbar, click Save.
You've now built an interactive layout with a map, buttons that display information about the map, and a set of bookmarks that display the map layers individually.
Add a map with a legend and a list
So far, the web app does a good job of illustrating the distribution of some of the main languages in India. However, there are many more languages that are not represented. The northeast of India in particular is linguistically diverse, but this area appears faded on your map, since there are many districts without a dominant mother tongue.
You'll add a second map to show the number of languages spoken as a mother tongue in each district. This will better highlight areas of great linguistic diversity.
Add and configure a new page
Rather than crowding the layout with a second map, you'll add a second page to your web app, so people can switch between the two maps.
- On the side toolbar, click the Page button.
- In the Page pane, point to Page 1 and click the More button. Click Duplicate.
You'll rename the two pages so they are easier to tell apart.
- Rename Page 1 to Languages of India. Rename Page 1 copy to Language Density.
You now have two identical pages. You'll remove the widgets from the second page and replace its map.
- In the Page pane, ensure that the Language Density page is selected.
- On the canvas, select and delete the three buttons and the bookmark widget.
- Click the map to select it. In the Map 1 copy pane, for Languages of India, click the Remove button.
The map on the canvas reverts to the default Topographic basemap and the Select data pane appears.
- At the bottom of the Select data pane, click Add new data.
- On the ArcGIS Online tab, search for and select the Language Density in India web map owned by Learn_ArcGIS.
- Click Done.
- In the Select data pane, click Language Density in India.
The Map 1 copy pane shows a preview of the new map. The map also appears on the canvas.
- Close the Select data pane.
- Rename Map 1 copy to Language Density Map.
Next, you'll move the map aside to make some more room on the layout.
- In the Language Density Map pane, click the Style tab.
- In the toolbar at the top of the pane, click the Snap to right button. For Width, choose Custom and type 60 %.
A blank space appears on the canvas to the left of the map.
- Click the Content tab. For Initial view, choose Custom and click Modify.
- In the Modify initial view window, reposition the map to the center and click OK.
- On the side toolbar, click the Insert button.
- In the Insert widget pane, scroll down to the Layout section.
Layout widgets are containers that allow you to better organize other widgets on the canvas. You'll add a column widget, which allows you to stack items vertically.
- Drag a Column widget onto the left side of the canvas. Snap it to the left and make it full height.
- In the Column 1 pane, on the Style tab, change Width to 40 %.
The layout for this page now consists of a column and a map.
Add a menu to switch between pages
Next, you'll add a menu to the header so people can switch between the two pages.
- On the canvas, point to the orange header and click Edit header.
- From the Insert widget pane, click and drag the Menu widget onto the header.
- On the menu's toolbar, click the alignment button and choose Full size.
The menu has two titles, one for each page.
- On the builder toolbar, click the Live view button. Click the menu titles to switch between the two pages.
The titles change color when they are selected and when you hover over them, although in their current style they are not always easy to see. Next, you'll update their style to make them more legible.
- In the Page pane, in the Outline section, under Header, click Menu 1.
The Outline section provides a nested list of all of the widgets in your app.
- In the Menu 1 pane, under Appearance, choose Pills. Turn on Advanced to access more settings.
- In the Advanced section, under Text, click the Bold button.
- Click the text color button.
- In the color menu, under Theme colors, in the top row, choose the white color.
Theme colors will update automatically if the theme of the web experience is changed.
- Click the Hover tab to edit the text for the hover state. Change the text color to white.
- Click the menu titles to test their new style.
- Switch to the Language Density page and turn off Live view.
Build a custom legend
The new map shows the density of mother tongue languages. Dark red districts have many languages spoken as a mother tongue, while pale yellow districts have few. Next, you'll add a legend to explain the map's colors.
- From the Insert widget pane, drag a Legend widget onto the column.
- In the Legend 1 pane, for Select a Map widget, choose Language Density Map.
The legend updates.
This legend is not ideal for your map. LangCount is not a clear descriptor, and the District and India polygons aren't necessary.
- In the Legend 1 pane, turn on Use card style.
This version of the legend does not suit your needs either. However, you can use part of it to build a custom legend for your map.
- Take a screen capture of the LangCount color ramp. If necessary, crop it to a rectangle without any white edges.
If you are unable to capture or crop a screen capture, you can download the image.
- Delete the legend widget.
- Drag a Text widget onto the column and type Number of languages spoken as mother tongue:
- Highlight the text. In the Text 3 pane, on the Content tab, click the Bold button and change the text alignment to Center.
- Click the Style tab and change Height to 25 px.
- Drag a Row widget onto the column and drop it below the text.
Rows organize content side by side. You can place a row inside a column or vice versa. By default, a row has some extra space around its edges and between its contents so items are not too crowded. You'll remove this space to make your legend appear compact.
- In the Row 1 pane, on the Content tab, change Gap and all of the Padding values to 0 px.
- Click the Style tab. For Height, type 35 px.
- Drag an Image widget onto the row and place it roughly in the middle.
- In the Image 1 pane, on the Content tab, click Select an image.
- Click Upload and choose the screen capture you captured or downloaded earlier.
You'll add some more text to describe what either end of the color ramp means.
- Drag a text widget onto the row and drop it next to the red end of the color ramp.
- Type 30 or more and make the text bold.
- Drag another text widget next to the yellow end of the color ramp. Type 1 and make the text bold. Also make the text right-justified
- Drag the sides of the image and text widgets so the 1 text takes up one column of the row and the 30 or more text takes up three columns.
There's still extra space between the legend title and the color ramp, even though you removed the gap setting from the row. This is because there is also a gap setting on the column.
- In the Page pane, in the Outline section, click Column 1.
- In the Column 1 pane, on the Content tab, change Gap to 0 px.
Add a list with text and images
Thematic maps often have a story or message to communicate. Adding text and images to the map can help to enliven the data by pointing out significant features and providing context for why they are interesting. You'll add a list widget to your layout to share information about a few of the languages in India.
- Drag a List widget onto the column and drop it beneath the legend row.
- In the List 1 pane, on the Content tab, click the first horizontal template and click Start.
- Click Select data. In the Select data pane, expand Language Density in India and choose Language notes.
This layer was created to store contextual information for the map. Like the pop-ups layers, it uses a transparent symbol so it is not visible on the map.
On the canvas, the first list item is selected. You'll make all of your edits to the first card, which will then be applied dynamically to all cards.
- On the first list card, select the image.
- In the Image 3 pane, on the Content tab, under Image source, click Dynamic.
- For URL, click the Attribute button, and click Attribute.
- In the Attribute pane, click Picture.
The Picture field contains URL addresses to images, so each list card will display a different photo. You'll credit the source of each image in a ToolTip.
- For Tooltip, click the Static button and change it to Attribute. In the Attribute pane, choose PictureCredit.
You can see how the Language notes layer is structured in the layer's table view.
- Close the Attribute pane.
- On the first list card, delete the first line of text.
- Click the remaining text. On the text's toolbar, click the Dynamic content button.
- Click Paragraph1, press Enter twice, and click Paragraph2.
- Close the Dynamic content window.
- Drag the sides of the text box so it almost fills the available space, leaving a small gap on either side. Make it full height.
Above the list there is an empty space with an Actions button.
This button allows users to process the data in the list—for example, to export it. This functionality is not necessary for your short list, so you'll remove this feature.
- Click the empty space above the list. In the List 1 pane, click the Action tab. Click Data action and turn off Enable data action.
The action button and the empty space disappear from the list.
- Click the Message action tab and click Add a trigger.
Message actions are changes that are applied to a target widget when a change in the source widget acts as a trigger. You'll add a trigger that uses the list as a source widget and the map as a target widget. When someone clicks a card in the list, it will trigger an action that zooms to the feature on the map.
- In the Select a trigger pane, click Record Selection Changes. For Select a target, choose Language Density Map.
- For Select an action, choose Zoom to. Close the Action settings pane.
- Turn on Live view and click some of the list items to test them. Each one should zoom to a different part of India and highlight the area on the map.
- Turn off Live view and save the web experience.
You've now added a second page to your web app and a second map, which shows how many mother tongue languages are spoken in each district. You added a menu to allow switching between the two pages and you built a custom legend. Finally you added a list that is dynamically driven by a map layer and set up an action so people can explore the map by clicking items in the list.
Complete the web app design
Your web app has all of the elements that you intended to include. However, before you decide that a map layout is complete, it's important to assess the following questions:
- What is the visual hierarchy of the layout? Which parts draw your eye first, second, and third?
- Are the maps adequately explained?
- Should you remove anything? Sometimes information that is interesting can distract from information that is important.
- Is the layout visually consistent? Do you use the same colors and fonts throughout?
- Is anything missing?
In this case, the last two questions require further work. You still must configure style settings on the column next to the language density map. In addition, some important information is missing: text to credit the data source.
Add credit text
Credit information and other metadata are usually designed to be small and out of the way of the rest of the map. They should be low in the visual hierarchy, but they should always be present. You'll add credit text below the list.
- Drag a Text widget onto the column, below the list.
- Copy and paste the following text:
The data for this map is from the 2011 Census of India, via ArcGIS Living Atlas of the World. This map was made by following the Learn ArcGIS lesson Design a layout for a thematic map in ArcGIS Experience Builder by Your Name, 2021.
- In the Text 9 pane, on the Style tab, change the Height to 80 px.
- Highlight all of the text. In the text toolbar, change the size to 11 px.
- Highlight 2011 Census of India. In the Text 9 pane, on the Content tab, click the Link button.
- In the Set link pane, for Link to, choose URL. For URL, paste https://censusindia.gov.in/2011Census/C-16_25062018_NEW.pdf.
- Click OK.
- Highlight ArcGIS Living Atlas of the World and set the link to https://www.arcgis.com/home/item.html?id=16a1324c517048db890b86a87858a8ef.
The text turns orange to indicate it is a link. The color is determined by the theme that you chose earlier.
- Replace Your Name with your name or initials, and if necessary, replace 2021 with the current year.
Style the column and the list
Next, you'll restyle the list so it shows as many cards as it can within the space that it has. You'll also make the cards appear white when they are selected and gray when they are not.
- Select the column. In the Column 1 pane, click the Style tab. Under Background, change the Fill color to white.
- Select the list. On the List 1 pane, on the Style tab, for Height, choose Stretch.
The Stretch setting will cause a widget to stretch to fill all of the available space in its container. In this case, the container is the column. The list expands to the maximum height that is possible without pushing the credit text off the page.
- Click the Content tab and expand Arrangement. Set Vertical spacing (px) to 0.
The gaps between the list cards disappear.
- Expand States and click the Fill color. From the Theme colors list, choose the lightest gray color (#efefef Light-200).
- For Border, change the size to 0 px.
- Turn on Live view and click some of the list items to test them.
The background color of the list cards changes to white when they are selected. This makes it easier for people to know what is currently selected. But there are some other things that you want to change: there is not enough room to read the text, the text jumps in position when a card is selected, and a thin orange border appears when a card is selected.
You'll start by fixing the position of the text.
- Turn off Live view. On the first list card, select the text.
- In the states menu that appears next to the card, click the link button and choose Apply to selected.
Now the text that appears on the card when it is selected will look the same as the text that appears on the card normally.
- Click any of the inactive cards to deselect the text.
- Drag the orange divider at the bottom of the first list card until all of the text in the first card is visible.
There will be more or less room available for each card depending on the screen resolution. It is okay if not all of the text fits in each card.
- On the builder toolbar, click the Change screen size button to preview the layout on different screen sizes.
You'll also change the border of the selected card from orange to white.
- In the List 1 pane, in the States section, next to Selected, click On.
The settings for the selected state of list cards appear.
- For Border, change the color to white and the size to 3 px.
- Turn on Live view and test the list. Turn off Live view again when you are done testing.
There is no gap between the legend and the list.
You removed all gaps to make the content more condensed, but it would be nice to maintain a gap in this one area.
- In the Page pane, in the Outline section, expand Column 1 and click Row 1.
- In the Row 1 pane, for Padding, change Bottom to 5 px.
A small white space appears between the legend and the list.
Restyle buttons for smaller screens
Your web app now achieves all of the goals from the project's list of criteria, except for the last item: the app should work on a mobile device as well as a desktop computer screen. You've viewed the layout on different desktop screen sizes but not smaller ones. Next, you'll adjust your layout to fit on a mobile device.
- Switch to the Languages of India page.
- On the builder toolbar, click the Edit your page for medium screen devices button to preview the layout for tablets and similarly sized screens.
The buttons are too short for medium-sized screens. You'll return to the full-sized preview to edit them.
- Click the Edit your page for large screen devices button to return to a desktop-sized preview.
- On the canvas, select the top button. In the Number of languages button pane, click the Style tab.
The width is shown as a percentage of the width of the container. In this case, the container is the map. So when the map is resized to fit on a smaller screen, the buttons are as well. You'll define the size of the buttons by pixels instead to prevent them from resizing.
- For Width, click the Change unit button and choose px.
- Change the Height property to px as well. Set Width to 250 px and Height to 40 px.
- Change the size of the other two buttons to match the first one.
You'll also change the font size to fit on the resized buttons.
- Click the Content tab, expand Advanced and change the font size to 12 px. Click the Hover tab and change the font size to 12 px there as well.
- Change the font size of the other two buttons to match the first one. Change it for both the Regular and Hover states.
- In the builder toolbar, switch between the three screen size previews.
The buttons fit in all three screen sizes; however, the buttons float in different places on different screen sizes.
This is because their positions are also determined by percentage. You'll change it to pixels to get more consistent behavior across screen sizes.
- Switch to the desktop preview and select the bottom button. In the Button 1 pane, click the Style tab.
Under Size & Position, there is a position diagram. This defines how far away the button is from the edges of its container.
- In the position diagram, click both Change units buttons and change them to px.
- Change the left position to 5 px and the bottom position to 20 px.
- Select the middle button. Change its left position to 5 px and its bottom position to 65 px.
- Select the top button. Change its left position to 5 px and its bottom position to 110 px.
- Switch between the three screen size previews.
The buttons now fit on all three screen sizes.
Rearrange elements for smaller screens
Sometimes you can create a design that works on any screen size, as you did with the buttons. But other times, you need to customize the layout for smaller screens. This approach is needed for the Language Density page. You'll place the legend and text in a sidebar that can be hidden.
- Switch to the Language Density page and on the builder toolbar, click the Edit your page for medium screen devices button.
The layout looks acceptable on medium-sized screens.
- Click the Edit your page for small screen devices button.
The layout is too crowded for small screens. You'll create a custom layout for this page when it is viewed on mobile devices.
Next to the canvas, there are two state menus: one for the header and one for the body of the app. They are both set to Auto, meaning the layout for small screens is the same as the layout for large screens.
- Click the bottom Custom button.
- In the Are you sure you want to enable it? window, click OK.
Now you can change the layout design for the page on small screens without effecting the design for large screens. You'll place the content aside temporarily so you can add the sidebar widget.
- In the Page pane, in the Outline section, click Column 1. Click the More button and click Move to the pending list.
The column disappears from the canvas.
- Also move the Language Density map to the pending list.
- On the side toolbar, click the Insert button. From the Layout section, drag a Sidebar widget onto the canvas and make it full size.
- In the Insert widget pane, click the Pending tab.
- Drag Column 1 onto the left side of the sidebar widget.
- Make the column full size.
- Drag the Language Density map onto the right side of the sidebar widget and make it full size as well.
- Turn on Live view and click the sidebar handle to test opening and closing the sidebar.
The sidebar allows both the information and the map to be usable on small screens. However, the legend is still not visible.
- Turn off Live view. In the Page pane, expand Column 1 and click Row 1.
- In the Row 1 pane, on the Style tab, change Height to 150 px.
The row expands to show all three items. Rows are automatically displayed as columns on small screens, but this modified arrangement is not suitable for the legend, so you will force the items back into a row.
- Click the 1 text and resize it until it occupies only the left-most column.
- Click the 30 or more text and resize it until it occupies only the three right-most columns.
- Drag the 30 or more text above the color ramp.
- Drag the color ramp and place it between the two text labels.
- In the Page pane, in the Outline section, click Row 1.
- In the Row 1 pane, on the Style tab, change Height to 30 px.
- Turn on Live view and preview the layout in all three screen sizes.
Preview and share the web app
You have finished designing the web app about languages in India. You are ready to publish the app and share it with others.
- On the builder toolbar, click the Save button.
- When the Saved successfully message appears, click the Preview button.
A new browser tab opens, displaying the new web experience.
- Test the app by exploring the buttons, bookmarks, list items, and pop-ups.
While you can preview the app in this view, other people cannot see it until it is published and shared.
- Return to the Experience Builder editing tab. On the builder toolbar, click Publish.
- Click the More button and choose Change share settings.
The item details page for the web app appears.
- Click the Share button.
- Click Everyone (public) and click Save.
- Scroll to the bottom of the item details page. Under URL, click the Copy button.
You can give this link to colleagues and friends to share the web app with them. You can continue to edit the app and test your edits with the Preview button. Other people will not see your edits until you click the Publish button again.
In this lesson, you built a multipage web app that features two maps about languages in India. You created filtered map views of individual languages using bookmarks, and you created a guided tour of some interesting parts of the data using a list. You added buttons, credit text, and a custom legend. Finally, you altered the layout to ensure that it will work on screens of different sizes.
Good layout design is essential to sharing thematic web maps that communicate clearly. An effective layout limits the number of tools and carefully guides the map viewer through an engaging exploration of the data. ArcGIS Experience Builder gives you the tools to build a custom layout that is ideally suited to your map.
You can find more lessons in the Learn ArcGIS Lesson Gallery.