]> git.openstreetmap.org Git - chef.git/blob - cookbooks/imagery/templates/default/index.html.erb
Add layer switcher as soon as it is created
[chef.git] / cookbooks / imagery / templates / default / index.html.erb
1 <!DOCTYPE html>lea
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
3   <head>
4     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
5     <title><%= @title %></title>
6     <link rel="stylesheet" href="imagery.css" type="text/css" media="all" />
7     <link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css" />
8     <script type="text/javascript" src="https://unpkg.com/leaflet@1.0.3/dist/leaflet.js"></script>
9     <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-plugins/1.6.1/control/Permalink.min.js"></script>
10     <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-plugins/1.6.1/control/Permalink.Layer.min.js"></script>
11     <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-plugins/1.6.1/control/Permalink.Overlay.js"></script>
12     <script type="text/javascript" src="imagery.js"></script>
13     <style type="text/css">
14     @media print {
15       .leaflet-control { display:none }
16     }
17     </style>
18   </head>
19   <body onload="createMap('map')">
20     <div id="map"></div>
21   </body>
22 </html>