<!DOCTYPE html> <html> <head> <style> h2 {width:800px;} </style>
<!-- Desktop header --> <div id="headerDesktop"> <div class="textArea"> <h1 class="title"></h1> <h2 class="subtitle"></h2> <!-- trying to add image in header--> <div id="legend" style="width:160px;vertical-align:top;background-color:#FFA500;float:right;index"> <img src="mapdata/scarp_thumb.jpg" width="160px" height="160px"/> </div> <!-- end legend block --> </div>
subtitle: "Photos are categorized by content:<br><img src='GenericRed.png' height='13px'/> landslide****<img src='GenericPurple.png' height='13px'/> ground shaking****<img src='GenericBlue.png' height='13px'/> post-earthquake engineering<br>foo<br>foo",
In order to keep the map tour UI fairly simple we didn't add a legend option or add support for the native popups in your web map, but these are among the things we are thinking about for the future based on feedback from authors. Some authors are adding their own legends by using the intro picture option and using that to show their legend. You can also download the template and customize the code to add a legend and I'll post an example of that if I come across a good one.My colleague Tim Craig in the Esri California regional office came up with this ingenious use of the map tour subtitle to provide a legend for this demo map tour. He just used HTML tags in the subtitle text to do this. No custom coding needed:http://caro.maps.arcgis.com/apps/MapTour/index.html?appid=4b456fa5a437429ba8eaa59496a43c6f&webmap=ab82b9f88c3944f6a01f4f2323416738#
And here's a couple of examples that put a legend in the header:
http://alaska.usgs.gov/announcements/news/1964Earthquake/
http://www.mappmycity.ca/Const_Detours/index.html
And here's a legend added in via customization: LOSSAN Coastal Rail Corridor
I want to capture statistics of the story map usage.
Not sure but I believe some statistics can be captured in the server
I was thinking of a google analytics script to be added for the storymap.
What would be the recommended standard options available?
I needed a legend for the location pins. I did this workaround to color the text in the header to match the location pin color. These colors seem to show up okay on the black background.
<i>____<font color="#62FE2E">Green</font>=Public Access____<font color=" #2E9AFE" =""="">Blue </font>= Restricted Access____<font color="#ff0000">Red</font> = Private Property </i>
Hi Joseph Jose
Your question on statistics is a bit off-topic in this discussion of map tour legends. I'd suggest starting a new discussion in the ArcGIS Online place with your question so it will get more attention.
I'm suggesting the ArcGIS Online place since your question applies to any web app, not just story maps, so members of that space might have good suggestions on how to capture statistics.
Owen
Thanks Rupert!
I really like these links, particularly the City of Windsor one. Their header incorporates several images and graphics. How do you do this? I can only seem to edit text in my title and subtitle.
Thanks
I'd also stongly advocate for a legend. We use this as a design tool to walk designers through existing site features...having a legible visual color coding system where you can use the 4 built in point colors as legend items would even be enough.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.