Share your map online - Google [PDF]

13 downloads 182 Views 1MB Size Report
Jan 22, 2015 - An online HTML version of this tutorial is available here in the Google Maps ... 2. Sign in to your organization's Google Maps Engine project. 3.
Google Maps Engine

Share your map online An online HTML version of this tutorial is available here in the Google Maps Engine Help Center. If you completed either of the companion tutorials, Make a map with vector data or Make a map with image data, you've now built one or two sample maps using Google Maps Engine. After making these maps you published them, but that doesn't mean they are available to the public. Publishing a map creates URLs, or access links, that point to the map. You can then control access to your map by sharing these links with specific viewers, or with the general public.  If you decide to share your map publicly, it becomes accessible over the Internet to users of map­viewing software such as Google Maps and Google Earth, as well as GIS clients that support Web Map Service (WMS).

To get started 1. In your Internet browser, go to mapsengine.google.com

.

2. Sign in to your organization's Google Maps Engine project. 3. Click on the Maps link at left to view a list of your maps. If you finished either of the previous tutorials, you should see one of these published maps in your maps list: Bay area topographic map or San Francisco Bay Map. You can pick either tutorial map to share—the steps you follow are the same. The examples and illustrations in this tutorial will refer to the San Francisco Bay Map, the vector data map that shows color­coded subregions around the San Francisco Bay.

1. Set sharing for your map To make your published map accessible to others over the Internet, first you need to change the sharing settings for the map. By default, a published map is only viewable by you, the map creator. You can change that to make the map viewable by specific people, or anyone on the Internet. To allow anyone on the Internet to view your map: https://support­content­live.corp.google.com/mapsengine/answer/6101280

1/10

1/22/2015

Share your map online ­ Google Maps Engine Help

1. In the Maps list page, hover over the San Francisco Bay Map name to display the pop­ up window, then click View details. 2. Click the Sharing icon above the map thumbnail at right. 3. For Published version sharing, click Change.

4. For Who has access, click Change.

The Link sharing dialog box shows sharing options for your published map.

https://support­content­live.corp.google.com/mapsengine/answer/6101280

2/10

1/22/2015

Share your map online ­ Google Maps Engine Help

Anyone with this link gives access to viewers who have the actual URL for your map. Maps Engine generates these URLs for map viewing programs such as Google Maps and Google Earth. You can share a link by any means you like, for example by email or by embedding in a web page. We'll learn more about access links in the next steps in this tutorial. Public on the web makes your map accessible to anyone with the URL, but also makes your map searchable by web search engines.  5. Select the Public on the web option. 6. Click Save, then click Done.

2. Share your map in Google Maps Once your map is publicly shared, you can share a link that lets users view the map in Google Maps, or embed a link to the map in a web page or blog. 1. On the Map details page, click the Access links button above the map thumbnail at right.

https://support­content­live.corp.google.com/mapsengine/answer/6101280

3/10

1/22/2015

Share your map online ­ Google Maps Engine Help

The Access Links dialog box has tabs that contain the URLs needed to access your map from various map viewers. The Google Maps tab is selected by default.

2. Click the URL in the Maps Engine viewer URL field to select it. 3. Copy the URL. To provide access to your map, share this URL with individuals, groups, or the general public by any means you choose. You can test the URL in your own web browser: 4. Open a new tab or browser window. 5. Paste the URL into the browser's URL field, and press Enter. Your map displays in the Maps Engine viewer (which provides a Google Maps­like window to https://support­content­live.corp.google.com/mapsengine/answer/6101280

4/10

1/22/2015

Share your map online ­ Google Maps Engine Help

external users). Note the legend in the upper­left corner of the map, with a checkbox which lets you toggle the visibility of any layers included in the map.

Embed your map in a web page or blog Another way to share your map is to embed it in a web page, blog, or anyplace else on the web which accepts HTML code. 1. In the Access Links dialog box, click in the Embed link field to select the HTML code. 2. Copy the embed link code. 3. Paste the code into the source code of your website or blog, or other HTML page. The embed code creates a display window for your map in the blog or web page. The map includes a layer button which displays map layers and lets the viewer change layer visibility.

https://support­content­live.corp.google.com/mapsengine/answer/6101280

5/10

1/22/2015

Share your map online ­ Google Maps Engine Help

3. Share your map in Google Earth 1. If you're not already there, open the Map details page for the San Francisco Bay Map. 2. Click the Access links button  above the map thumbnail at right. 3. In the Access Links dialog box, click the Google Earth tab. 4. Click the URL in the Google Earth database link field to select it.

https://support­content­live.corp.google.com/mapsengine/answer/6101280

6/10

1/22/2015

Share your map online ­ Google Maps Engine Help

5. Copy the URL. 6. Open Google Earth on your computer. To download the latest version of Google Earth, go to: www.google.com/earth/ . 7. In Google Earth, from the File menu, choose Sign in to Maps Engine... 8. On the sign­in page that appears, log in with the email address and password you use to access your Maps Engine account. Once you log in, you'll see a page with a Private Maps tab and an Advanced tab. 9. Do either of the following: Click the Advanced tab and paste the URL you copied from the Access Links dialog box into the address field. Then click Connect to globe. Click the Private Maps tab, where you'll see the published maps available to your Maps Engine account. Click the San Francisco Bay Map to select it. Then click the Back to Google Earth button at top left to return you to the Google Earth Globe view. 10. In the Layers list at bottom left,  the San Francisco Bay map you added now appears at the bottom of the list.

https://support­content­live.corp.google.com/mapsengine/answer/6101280

7/10

1/22/2015

Share your map online ­ Google Maps Engine Help

11. Zoom in on the globe to find your map of the San Francisco Bay, where you'll see the vector data overlaying Google Earth's satellite imagery. Also try the following: Expand the San Francisco Bay map layer to view the nested baylands vector layer. You can use the checkbox to toggle layer visibility. Click on the different baylands subregions to display their associated info windows, as shown below.

Tip: You can also open your map in Google Earth using the KML file available for download on https://support­content­live.corp.google.com/mapsengine/answer/6101280

8/10

1/22/2015

Share your map online ­ Google Maps Engine Help

the Google Earth tab of the Access Links dialog box (see first illustration above). Click the Download KML file link to download the file, then open it in Google Earth (File > Open). This loads your map as a database in the Google Earth Layers panel, just like the procedure above. Note: This KML file only contains a pointer to open the Google Maps Engine database in the Layers panel. It is not a typical KML file, which opens in the Places panel and can be saved in the My Places folder.

4. Share your map via API access Maps Engine provides you with a maps API ID for your published map which allows you to access your map programmatically using the Maps Engine API or the Google Maps API. 1. If you're not already there, open the Map details page for the map San Francisco Bay Map. 2. Click the Access links button above the map thumbnail at right. 3. In the Access Links dialog box, click the API access tab. 4. The API access tab shows the Asset ID for your map and the Layer key for each layer. Copy these IDs for use in your API code.

For more detailed instructions, see Programmatic access to maps and layers.

5. Share you map via WMS Web Map Service (WMS) is one of the standard protocols developed by the Open Geospatial Consortium  (OGC) to make maps available over the internet. Any map you build with Maps Engine can be accessed by programs that use either the WMS 1.1 or the WMS 1.3 standards. https://support­content­live.corp.google.com/mapsengine/answer/6101280

9/10

1/22/2015

Share your map online ­ Google Maps Engine Help

1. If you're not already there, open the Map details page for the San Francisco Bay Map. 2. Click the Access links button above the map thumbnail at right. 3. In the Access Links dialog box, click the OGC tab.

4. URLs are provided for WMS 1.1.1 and 1.3.0 standards. Click the appropriate URL to select it. 5. Copy the URL. 6. Use this WMS URL to load and display your map using WMS­compatible programs, such as the following: ArcGIS Online ArcMap OpenLayers QGIS For more information on supported requests and supported projections for WMS 1.1.1 and WMS 1.3.0, see Support for OGC standards.

6. What's next To get more practice using Maps Engine, try the sample map­making recipes in the Google Maps Engine Cookbook.  See more tutorials focused on nonprofit use cases at the Google Earth Outreach site.. Check out how organizations like World Wildlife Fund and Living Oceans Society are using Google Maps Engine!

10/10