Skip to content

Commit

Permalink
Update file locations
Browse files Browse the repository at this point in the history
  • Loading branch information
slowe committed Nov 21, 2024
1 parent 7c4e4fa commit ab143e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ <h1>Hexmap Library</h1>
</header>
<div class="padded">
<div class="holder">
<p id="intro"><a href="oi.hexmap.js">oi.hexmap.js</a> (25kB; <a href="oi.hexmap.min.js">15kB minified</a>; 6kB minified+gzipped) is our small, standalone, Javascript library for making interactive hexmaps (cartograms). There are some <a href="#ex1">examples below</a>.</p>
<p id="intro"><a href="dist/oi.hexmap.js">oi.hexmap.js</a> (24.6kB; <a href="dist/oi.hexmap.min.js">15.6kB minified</a>; 6kB minified+gzipped) is our small, standalone, Javascript library for making interactive hexmaps (cartograms). There are some <a href="#ex1">examples below</a>.</p>

<p>This library assumes you have an existing hex layout as <a href="https://open-innovations.org/projects/hexmaps/hexjson">HexJSON</a> (e.g. <a href="https://github.com/odileeds/hexmaps/tree/gh-pages/maps">layouts we've made</a>) and the ability to add Javascript to a webpage. The library creates an SVG (scalable vector graphic) of hexes - which can be styled via CSS - and some basic event callbacks.</p>

Expand Down Expand Up @@ -167,7 +167,7 @@ <h1>Hexmap Library</h1>

<h4>Include the Javascript library</h4>
<pre class="prettyprint lang-css hljs">
&lt;script src="oi.hexmap.js"&gt;&lt;/script&gt;
&lt;script src="dist/oi.hexmap.js"&gt;&lt;/script&gt;
</pre>

<section class="example" id="ex1">
Expand Down

0 comments on commit ab143e8

Please sign in to comment.