<% uses gw.api.locale.DisplayKey %> <%-- template for generating HTML for the heat map --%> <% uses gw.api.heatmap.HeatMapGenerator %> <% uses gw.api.heatmap.IHeatMapTemplate %> <%@ params(heatMap : HeatMapGenerator, mapTemplate : IHeatMapTemplate, mapOption : String) %> <% var popupMapHeight = 675 var requestedHeight = mapOption == "popupMap" ? popupMapHeight : heatMap.InitialHeight %> <% if (mapOption == "iframe") { /* frame for popupMap */ %> <% } else { %> ${ mapTemplate.MapScriptHTML } <% for (jsFile in mapTemplate.javaScriptFileNames()) { %> <% } %>
${ mapTemplate.LoadingMessage }
<% if (not heatMap.haveLegendImage()) { %>
<% } else { %>
<% } %> <% } %>