<!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=ab...
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?
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