smithmicro / mapbox-gl-circle

A *google.maps.Circle* replacement for Mapbox GL JS
https://smithmicro.github.io/mapbox-gl-circle/
ISC License
55 stars 26 forks source link

Feature/Add VERSION property to MapboxCircle #42

Closed ghost closed 6 years ago

ghost commented 6 years ago

It's difficult to know what version of the circle is loaded, especially when working on the index.html which has a fallback on latest package published to NPM.

This pull request adds a MapboxCircle.VERSION property, read from the project package.json config.

Also updated index.html to add a version div in the top-right corner:

screen shot 2017-09-24 at 12 31 52

Good idea, yes? :)