Название | Getting to Know Web GIS |
---|---|
Автор произведения | Pinde Fu |
Жанр | Программы |
Серия | Getting to Know |
Издательство | Программы |
Год выпуска | 0 |
isbn | 9781589485228 |
6 In the Item from my computer window, perform the following tasks:For File, browse to C:\EsriPress\GTKWebGIS\Chapter1\Locations.csv, and click it. If you have published a file of the same name to your content before, rename your Locations.csv file to a unique name, and then select it.For Title, use the default, or specify a new one.For Tags, specify keywords, such as Redlands Tour, GTKWebGIS, and your organization name, as illustrated. Separate the keywords with commas.Make sure the check box next to Publish this file as a hosted layer remains selected.Leave the Use Latitude/Longitude option selected.Review the field types and location fields.Click Add Item.
Among the tags, GTKWebGIS stands for the title of the book. This tag indicates this item is based on the tutorial from this book.
The item details page appears as your CSV file is being published as a hosted feature layer. Each item in ArcGIS Online and Portal for ArcGIS includes an item page with a variety of information, actions, options, and settings organized by tab: Overview, Data, Visualization, Usage, and Settings. The tabs you see, as well as the options and information available on the tabs, depend on the item type, your privileges, and whether you are the item owner or administrator.
1 Click each tab to familiarize yourself with the tabs on the item details page.The Overview tab includes overview information about an item, such as a description, tags, data source information, creation date, size, and sharing status. The tab also includes options to open, add to favorites, share the item, edit metadata, and add ratings and comments.The Data tab allows you to view, sort, and edit—if you are the item owner or the administrator—the attribute data of feature layers.The Visualization tab allows you to change default properties such as style, filter, pop-ups, and labels, of a feature layer without having to open the layer in map viewer.The Usage tab allows owners and administrators to see the usage statistics of the layer over time.The Settings tab allows editors and administrators to enable editing and configure other related settings for a feature layer.
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