Newer
Older
osm-data / index2.html
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset='utf-8'/>
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>PLATEAU DATA</title>
  7. <link rel="stylesheet" href="lib/ol6.14.1-dist/ol.css" type="text/css">
  8. <link rel="stylesheet" href="lib/surveyor.css" type="text/css">
  9. <script src="lib/ol6.14.1-dist/ol.js"></script>
  10. <script src="index2.js" type='text/javascript'></script>
  11. <style type="text/css">
  12. #map {
  13. width: 98%;
  14. height: 720px;
  15. }
  16.  
  17. #popup {
  18. position: relative;
  19. display: inline-block;
  20. margin: 1.5em 0;
  21. padding: 7px 10px;
  22. min-width: 120px;
  23. max-width: 100%;
  24. color: #555;
  25. font-size: 16px;
  26. background: #FFF;
  27. border: solid 3px #555;
  28. box-sizing: border-box;
  29. }
  30. #popup:before {
  31. content: "";
  32. position: absolute;
  33. bottom: -24px;
  34. left: 50%;
  35. margin-left: -15px;
  36. border: 12px solid transparent;
  37. border-top: 12px solid #FFF;
  38. z-index: 2;
  39. }
  40. #popup:after {
  41. content: "";
  42. position: absolute;
  43. bottom: -30px;
  44. left: 50%;
  45. margin-left: -17px;
  46. border: 14px solid transparent;
  47. border-top: 14px solid #555;
  48. z-index: 1;
  49. }
  50. .popup p {
  51. margin: 0;
  52. padding: 0;
  53. }
  54. </style>
  55. </head>
  56. <body onload='loadMap();'>
  57. <script src="lib/jquery-2.1.1.min.js"></script>
  58. <div id="wrap">
  59. <div class="header">
  60. <H1><div id='title'></div></H1>
  61. <div id='map'></div>
  62. </div>
  63. </div>
  64. <div><a href="site-policy.html">サイト利用規約</a></div>
  65. <!-- ポップアップ -->
  66. <div id='popup' class='ol-popup'>
  67. <a href='#' id='popup-closer' class='ol-popup-closer'></a>
  68. <div id='popup-content'></div>
  69. </div>
  70. </body>
  71. </html>