Skip to content

Commit f1e942f

Browse files
committed
Update docs
1 parent 0a11483 commit f1e942f

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

docs/index.html

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ <h3 class='mb0 no-anchor'>map-gl-utils</h3>
3838
</li>
3939

4040

41+
<li><a
42+
href='#changelog'
43+
class="h5 bold black caps">
44+
Changelog
45+
46+
</a>
47+
48+
</li>
49+
50+
4151
<li><a
4252
href='#addcirclelayer'
4353
class="">
@@ -3139,6 +3149,64 @@ <h2>Credits</h2>
31393149
<p>Tests are run using <a href="https://jestjs.io/">Jest</a>.</p>
31403150

31413151

3152+
</section></div>
3153+
3154+
3155+
3156+
<div class='keyline-top-not py2'><section class='py2 clearfix'>
3157+
3158+
<h2 id='changelog' class='mt0'>
3159+
Changelog
3160+
</h2>
3161+
3162+
3163+
<h2>Changelog</h2>
3164+
<h3>0.41.0</h3>
3165+
<ul>
3166+
<li>fix UMD packaging (thanks @lasseborly!)</li>
3167+
<li>fix ESM packaging (class properties not transformed properly)</li>
3168+
<li>update to Mapbox GL Style Spec 13.22 ("sky" properties)</li>
3169+
</ul>
3170+
<h3>0.40.0</h3>
3171+
<ul>
3172+
<li>rename to Map-GL-JS and explicitly support Maplibre GL JS</li>
3173+
<li>add Flow types</li>
3174+
<li>add JSdocs and use documentation.js to make documentation</li>
3175+
<li>change the packaging again, so <code>dist/index.esm.js</code> is the default, ES module, and <code>umd/index.js</code> is the UMD module.</li>
3176+
</ul>
3177+
<h3>0.39.0</h3>
3178+
<ul>
3179+
<li>remove kebab-case dependency</li>
3180+
</ul>
3181+
<h3>0.38.0</h3>
3182+
<ul>
3183+
<li>scrapped the CommonJS build. NodeJS is able to handle ES modules these days.</li>
3184+
<li>rewrote the "arrayify" logic</li>
3185+
<li>correctly handle 'hover' transitions across overlapping layers</li>
3186+
<li>probably correctly gives an "off" handler so this kind of thing works:
3187+
<code>const off = map.U.hoverPointer(['layer1','layer2']); /* ... */ off()</code></li>
3188+
<li>more tests</li>
3189+
</ul>
3190+
<h3>0.37.0</h3>
3191+
<ul>
3192+
<li><code>onLoad()</code> now returns a promise if no callback provided.</li>
3193+
</ul>
3194+
<h3>0.36.0</h3>
3195+
<ul>
3196+
<li>added UMD build so you can use directly in the browser at <a href="https://unpkg.com/mapbox-gl-utils">https://unpkg.com/mapbox-gl-utils</a> or <a href="https://unpkg.com/[email protected]/dist/index.min.js">https://unpkg.com/[email protected]/dist/index.min.js</a> . <a href="https://github.com/stevage/mapbox-gl-utils/issues/27">https://github.com/stevage/mapbox-gl-utils/issues/27</a></li>
3197+
<li>added es6 build as "module" parameter in package.json</li>
3198+
</ul>
3199+
<h3>0.35.0</h3>
3200+
<ul>
3201+
<li>added <code>fontsInUse()</code> function <a href="https://github.com/stevage/mapbox-gl-utils/issues/26">https://github.com/stevage/mapbox-gl-utils/issues/26</a></li>
3202+
<li>added <code>getLineColor()</code>, getTextFont() etc <a href="https://github.com/stevage/mapbox-gl-utils/issues/24">https://github.com/stevage/mapbox-gl-utils/issues/24</a></li>
3203+
<li>change: <code>addXLayer()</code> and <code>addX()</code> are now idempotent: call once to add layer/source, again to update. <a href="https://github.com/stevage/mapbox-gl-utils/issues/25">https://github.com/stevage/mapbox-gl-utils/issues/25</a></li>
3204+
<li>change: allow passing no data to <code>setData()</code> <a href="https://github.com/stevage/mapbox-gl-utils/issues/19">https://github.com/stevage/mapbox-gl-utils/issues/19</a></li>
3205+
<li>bugfix: <code>addVector()</code> with extra argument didn't work <a href="https://github.com/stevage/mapbox-gl-utils/issues/22">https://github.com/stevage/mapbox-gl-utils/issues/22</a></li>
3206+
<li>new change log :)</li>
3207+
</ul>
3208+
3209+
31423210
</section></div>
31433211

31443212

0 commit comments

Comments
 (0)