Getting to Know Web GIS. Pinde Fu
Чтение книги онлайн.
Читать онлайн книгу Getting to Know Web GIS - Pinde Fu страница 10
2 Click the Overview tab, click Share, share your layer with Everyone (public), and click OK.
This way, your web users can use your feature layer without having to log in.
In this section, you have created a feature layer, which will be used in the web map and web app you will be creating in the following sections.
1.3 Create a web map
You will make sure you are signed in before continuing with the remaining steps. Otherwise, you will not be able to save your web map and may lose your work. If you are not continuing from the last section, sign in to ArcGIS Online or your Portal for ArcGIS, go to your content, find and click the feature layer you created in the previous section.
1 Continuing from the last section, on the item details page of your feature layer, click Open in the Map Viewer drop-down list, and choose Add to new map.This button has two options. You can Add to new map or Add to new map with full editing control. The latter allows owners and administrators to edit the layer data and schema. You don’t need to edit the layer here. Either option will direct you to the map viewer. The locations of your data are displayed on the map automatically.
2 Familiarize yourself with the map viewer menu bar.The ArcGIS Online map viewer helps users create, customize, and view web maps. On the menu bar, you will see the following buttons:The Details button toggles the panel on the left side of the web map canvas. This panel can display a web map’s metadata, table of contents (TOC), or legend.The Add button is used to add a variety of layers into the web map.The Basemap button displays a gallery of underlying imagery that users can choose from.The Analysis button leads to a rich set of analysis functions.The Save button allows you to save your web map.The Share button lets you select the people who will have access to your web map and choose how you will share it, either by embedding the web map in a webpage or by creating a web app from a template.The Print button creates a hard copy of the current map view.The Directions button can calculate the best route from a starting location to the destinations you specify.The Measure button helps determine areas, distances, and a location’s longitude and latitude.The Bookmarks button allows you to save a list of map areas so you can quickly select one and zoom to that map area.In the Find address or place text box, you can specify an address or place and find its location on the map viewer.
3 If you are prompted with the Change Style pane, click Cancel.The Map Tour template will use the style defined in the app template. There is no need to configure your layer style.
4 In the Contents pane, point to the Locations Layer, click the More Options button , click Set Visibility Range, set the range to always visible (in other words, from World scale to Room scale).
5 Zoom and pan the map to an extent that you will use as the initial extent of your web app.
6 On the menu bar, click the Save button and choose Save.
7 In the Save Map window, enter the title, tags, and summary of your web map. Then click Save Map. Leave the web map open.
Congratulations! You have created a simple web map.
Typically, users need to configure pop-up windows and sometimes change styles on map layers. You will learn these skills in the next chapter. For this tutorial, the Map Tour template automatically handles the style of your layer, so you do not need to configure pop-ups or change layer style here.
1.4 Create a web app using a template
This step will transform your web map into a web app using the Story Map Tour template.
1 Continue from the previous section or sign in to ArcGIS Online or Portal for ArcGIS, and open the web map you just created. In the map viewer, click the Share button on the menu bar, which opens the Share window.
2 In the Share window, select the check box next to Everyone (public) or next to the check box(es) next to the organization and group(s) with which you would like to share your web map. Note: Unless you share your web map and all the layers in the web map with everyone, a prompt will ask users to sign in whenever they open your web map and any web apps that use this map.
3 Click Create a Web App.The Create a New Web App window opens presenting a gallery of the templates. If your organization has configured custom galleries, you may not see these same configurable apps as the figure.The templates are grouped and the groups are listed in alphabetical order. You can use the scroll bar to review the full gallery, or you can click a group name on the left to see the templates in this group.
4 Click Build a Story Map group on the left, find and click the Story Map Tour template, and then click Create Web App.
5 Leave the title, tags, and summary information as they are or make appropriate updates, and then click Done. Note: The check box, “Share this app in the same way as the map (Everyone),” is selected by default. With this check box selected, your web app will be shared with the public, along with your web map.You have created your own informative and easy-to-use web app!
6 Click the Settings button, select the Three-panels layout, and click Apply.
7 Spend a few minutes exploring your new web app.
For example, you can navigate through the app’s tour points by clicking the thumbnails, the arrows next to the photos, and the numeric icons on the map. If you click the thumbnail for the University of Redlands, for example, a video introducing the university appears.
Your web app is already created and saved. You will further configure it in the next section.
1.5 Configure your web app
Once you have determined that your app’s tour points and their order, captions, and descriptions are correct, your app is complete. Optionally, you can enhance your application’s features by using the template’s builder mode. In this mode, you can add or import new tour points; update and delete existing images; set or update locations and descriptions; update the app title, subtitle, and logo; and change the app layout.
1 If you are continuing from the previous section, go to step 3; otherwise, sign in to ArcGIS Online or your Portal for ArcGIS.
2 Click the Content tab, in your content list, find and click the web app you just created to go to its details page, and then click Configure App.
3 Familiarize yourself with the builder mode.The pencil icon means that you can update nearby text, such as titles, subtitles, image captions, and descriptions.The Change media and Change thumbnail buttons can be used to change the URLs of media and thumbnail locations.The Add, Organize, and Import buttons allow you to interactively add more locations, change the order of points, and import media from Flickr, Picasa, Facebook, YouTube, or a CSV file.
Now, you will change the Esri photo into a video.
1 Click the Esri thumbnail image. Click Change media, then click Video. Remove the current URL, enter https://www.youtube.com/embed/RM0eMdrPhEA,