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

Version Path
jekyll-theme-open-project-helpers-2.0.11 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-2.0.10 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-2.0.9 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-2.0.7 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-2.0.6 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-2.0.4 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-2.0.3 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-2.0.2 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-2.0.1 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-2.0 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-1.3.4 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-1.3.3 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-1.3.2 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-1.3.1 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-1.3 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-1.2.5 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-1.2.4 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html
jekyll-theme-open-project-helpers-1.2.3 lib/jekyll-theme-open-project-helpers/spec_builders/png_diagram.html