Sha256: 0074d6fa755437a53c1951000d512d8fe4204edef91a24bf91cab69fa9b30d10
Contents?: true
Size: 794 Bytes
Versions: 38
Compression:
Stored size: 794 Bytes
Contents
{% comment %}Page stub.{% endcomment %} <div id="diagramContainer" style="height: 400px"></div> <style> .leaflet-container { background-color: transparent; } .documentation.with-expandable-toc > article { max-width: none; } </style> <script> (function () { var map = L.map('diagramContainer', { crs: L.CRS.Simple, attributionControl: false, scrollWheelZoom: false, zoomControl: false, minZoom: -10, }). setView([{{ page.image_height }}/2, {{ page.image_width }}/2]); map.addControl(L.control.zoom({ position: 'bottomleft' })); var bounds = [[0,0], [{{ page.image_height }}, {{ page.image_width }}]]; var image = L.imageOverlay('{{ page.image_path }}', bounds).addTo(map); map.fitBounds(bounds); }()); </script>
Version data entries
38 entries across 38 versions & 1 rubygems